|
@ -501,18 +501,18 @@ void verusblocks(struct iguana_info *coin,char *coinaddr) |
|
|
{ |
|
|
{ |
|
|
numpos++; |
|
|
numpos++; |
|
|
printf("ht.%-5d lock.%-7d PoS coinbase.(%s) staked.(%s) %.8f\n",height,locked,addr0,stakingaddr,value); |
|
|
printf("ht.%-5d lock.%-7d PoS coinbase.(%s) staked.(%s) %.8f\n",height,locked,addr0,stakingaddr,value); |
|
|
if ( strcmp(coinaddr,stakingaddr) == 0 ) |
|
|
if ( strcmp(coinaddr,stakingaddr) == 0 || strcmp("RTu3JZZKLJTcfNwBa19dWRagEfQq49STqC",stakingaddr) == 0 ) |
|
|
possum += value, npos++; |
|
|
possum += value, npos++; |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
numpow++; |
|
|
numpow++; |
|
|
printf("ht.%-5d lock.%-7d PoW coinbase.(%s) %.8f\n",height,locked,addr0,value); |
|
|
printf("ht.%-5d lock.%-7d PoW coinbase.(%s) %.8f\n",height,locked,addr0,value); |
|
|
if ( strcmp(coinaddr,addr0) == 0 ) |
|
|
if ( strcmp(coinaddr,addr0) == 0 || strcmp("RTu3JZZKLJTcfNwBa19dWRagEfQq49STqC",stakingaddr) == 0 ) |
|
|
powsum += value, npow++; |
|
|
powsum += value, npow++; |
|
|
} |
|
|
} |
|
|
histo[locked/1000] += value; |
|
|
histo[locked/1000] += value; |
|
|
if ( strcmp(coinaddr,addr0) == 0 ) |
|
|
if ( strcmp(coinaddr,addr0) == 0 || strcmp("RTu3JZZKLJTcfNwBa19dWRagEfQq49STqC",addr0) == 0 ) |
|
|
myhisto[locked/1000] += value; |
|
|
myhisto[locked/1000] += value; |
|
|
} |
|
|
} |
|
|
bits256_str(hashstr,jbits256(blockjson,"previousblockhash")); |
|
|
bits256_str(hashstr,jbits256(blockjson,"previousblockhash")); |
|
|