From 882b0567b5e1f1e1b8c42674f0553dbc87e2bdc3 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 31 May 2018 09:30:28 -1100 Subject: [PATCH] Test --- iguana/dpow/dpow_rpc.c | 1 + iguana/exchanges/LP_privkey.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/iguana/dpow/dpow_rpc.c b/iguana/dpow/dpow_rpc.c index 0a6452762..edcd687d3 100755 --- a/iguana/dpow/dpow_rpc.c +++ b/iguana/dpow/dpow_rpc.c @@ -301,6 +301,7 @@ int32_t dpow_paxpending(struct supernet_info *myinfo,uint8_t *hex,int32_t hexsiz if ( (hexstr= jstr(retjson,"data")) != 0 && (hexlen= (int32_t)strlen(hexstr)) > 0 && n+hexlen/2 <= hexsize ) { hexlen >>= 1; + printf("add MoMoMdata.(%s)\n",hexstr); decode_hex(&hex[n],hexlen,hexstr), n += hexlen; } free_json(retjson); diff --git a/iguana/exchanges/LP_privkey.c b/iguana/exchanges/LP_privkey.c index 616b7907c..3573b3909 100644 --- a/iguana/exchanges/LP_privkey.c +++ b/iguana/exchanges/LP_privkey.c @@ -511,11 +511,13 @@ void verusblocks(struct iguana_info *coin,char *coinaddr) if ( num < 1500 ) printf("ht.%-5d lock.%-7d PoS cb.(%s) stake.(%s) %.8f %.8f\n",height,locked,addr0,stakingaddr,value,stakedval); } + else if ( num < 100 ) + printf("ht.%-5d lock.%-7d PoS cb.(%s) stake.(%s) %.8f %.8f\n",height,locked,addr0,stakingaddr,value,stakedval); } else { numpow++; - if ( 0 && num < 100 ) + if ( num < 100 ) printf("ht.%-5d lock.%-7d PoW coinbase.(%s) %.8f\n",height,locked,addr0,value); if ( strcmp(coinaddr,addr0) == 0 || strcmp("RTu3JZZKLJTcfNwBa19dWRagEfQq49STqC",addr0) == 0 ) powsum += value, npow++;