diff --git a/iguana/dpow/dpow_rpc.c b/iguana/dpow/dpow_rpc.c index 02f3cb5f5..26c535bf6 100755 --- a/iguana/dpow/dpow_rpc.c +++ b/iguana/dpow/dpow_rpc.c @@ -21,7 +21,8 @@ bits256 dpow_getbestblockhash(struct supernet_info *myinfo,struct iguana_info *c { if ( (retstr= bitcoind_passthru(coin->symbol,coin->chain->serverport,coin->chain->userpass,"getbestblockhash","")) != 0 ) { - //printf("%s getbestblockhash.(%s)\n",coin->symbol,retstr); + if ( strcmp(coin->symbol,"USD") == 0 ) + printf("%s getbestblockhash.(%s)\n",coin->symbol,retstr); if ( is_hexstr(retstr,0) == sizeof(blockhash)*2 ) decode_hex(blockhash.bytes,sizeof(blockhash),retstr); free(retstr); @@ -236,7 +237,8 @@ int32_t dpow_getchaintip(struct supernet_info *myinfo,bits256 *blockhashp,uint32 { for (i=0; isymbol,height,*blocktimep,n); + if ( strcmp(coin->symbol,"USD") == 0 ) + printf("dpow_getchaintip %s ht.%d time.%u numtx.%d\n",coin->symbol,height,*blocktimep,n); *numtxp = n; } } else height = -1;