|
@ -93,7 +93,7 @@ bits256 dpow_getblockhash(struct supernet_info *myinfo,struct iguana_info *coin, |
|
|
{ |
|
|
{ |
|
|
sprintf(buf,"\"%d\"",height); |
|
|
sprintf(buf,"\"%d\"",height); |
|
|
retstr = bitcoind_passthru(coin->symbol,coin->chain->serverport,coin->chain->userpass,"getblockhash",buf); |
|
|
retstr = bitcoind_passthru(coin->symbol,coin->chain->serverport,coin->chain->userpass,"getblockhash",buf); |
|
|
printf("%s ht.%d -> getblockhash.(%s)\n",coin->symbol,height,retstr); |
|
|
//printf("%s ht.%d -> getblockhash.(%s)\n",coin->symbol,height,retstr);
|
|
|
usleep(10000); |
|
|
usleep(10000); |
|
|
} |
|
|
} |
|
|
else if ( coin->FULLNODE > 0 || coin->VALIDATENODE > 0 ) |
|
|
else if ( coin->FULLNODE > 0 || coin->VALIDATENODE > 0 ) |
|
|