From 1944cc472fe4adc19489d66f8e7d4754ae66a628 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 31 May 2018 03:19:16 -1100 Subject: [PATCH] Test --- iguana/exchanges/LP_privkey.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/iguana/exchanges/LP_privkey.c b/iguana/exchanges/LP_privkey.c index c55befd1e..0b2a39201 100644 --- a/iguana/exchanges/LP_privkey.c +++ b/iguana/exchanges/LP_privkey.c @@ -503,19 +503,22 @@ void verusblocks(struct iguana_info *coin,char *coinaddr) if ( posflag != 0 ) { numpos++; - if ( num < 100 ) - printf("ht.%-5d lock.%-7d PoS cb.(%s) stake.(%s) %.8f %.8f\n",height,locked,addr0,stakingaddr,value,stakedval); if ( strcmp(coinaddr,stakingaddr) == 0 ) possum += value, npos++; if ( strcmp("RTu3JZZKLJTcfNwBa19dWRagEfQq49STqC",stakingaddr) == 0 ) + { RTu3sum += value, possum += value, npos++; + printf("ht.%-5d lock.%-7d PoS cb.(%s) stake.(%s) %.8f %.8f\n",height,locked,addr0,stakingaddr,value,stakedval); + } + else if ( num < 10 ) + printf("ht.%-5d lock.%-7d PoS cb.(%s) stake.(%s) %.8f %.8f\n",height,locked,addr0,stakingaddr,value,stakedval); } else { numpow++; - if ( num < 100 ) + if ( 0 && num < 100 ) printf("ht.%-5d lock.%-7d PoW coinbase.(%s) %.8f\n",height,locked,addr0,value); - if ( strcmp(coinaddr,addr0) == 0 || strcmp("RTu3JZZKLJTcfNwBa19dWRagEfQq49STqC",stakingaddr) == 0 ) + if ( strcmp(coinaddr,addr0) == 0 || strcmp("RTu3JZZKLJTcfNwBa19dWRagEfQq49STqC",addr0) == 0 ) powsum += value, npow++; } histo[locked/1000] += value;