Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
cb49175ffd
  1. 10
      iguana/iguana_recv.c

10
iguana/iguana_recv.c

@ -933,7 +933,17 @@ struct iguana_bundlereq *iguana_recvblockhashes(struct iguana_info *coin,struct
//printf("done allhashes\n");
}
else if ( bp->hdrsi == coin->bundlescount-1 )
{
iguana_checklongestchain(coin,bp,num);
if ( bp->speculative != 0 && bp->numspec < num )
{
for (i=bp->numspec; i<num; i++)
{
if ( bits256_nonz(bp->speculative[i]) == 0 )
bp->speculative[i] = blockhashes[i];
}
}
}
if ( strcmp("BTC",coin->symbol) != 0 && (bp->speculative == 0 || num > bp->numspec) && bp->emitfinish == 0 )
{
//printf("FOUND speculative.%s BLOCKHASHES[%d] ht.%d\n",bits256_str(str,blockhashes[1]),num,bp->bundleheight);

Loading…
Cancel
Save