|
|
@ -432,10 +432,9 @@ struct iguana_bundlereq *iguana_recvblockhashes(struct iguana_info *coin,struct |
|
|
|
{ |
|
|
|
char str[65]; printf("blockhashes[%d] %s\n",num,bits256_str(str,blockhashes[1])); |
|
|
|
iguana_blockQ(coin,0,-1,blockhashes[1],1); |
|
|
|
for (i=coin->chain->bundlesize*0; i<num; i++) |
|
|
|
for (i=coin->chain->bundlesize; i<num; i++) |
|
|
|
{ |
|
|
|
//if ( i >= coin->chain->bundlesize && (i % coin->chain->bundlesize) < 2 )
|
|
|
|
if ( bits256_nonz(blockhashes[i]) > 0 ) |
|
|
|
if ( i >= coin->chain->bundlesize && (i % coin->chain->bundlesize) < 2 && bits256_nonz(blockhashes[i]) > 0 ) |
|
|
|
iguana_blockQ(coin,0,-1,blockhashes[i],0); |
|
|
|
} |
|
|
|
} |
|
|
|