jl777 8 years ago
parent
commit
c21cd6da62
  1. 14
      iguana/iguana_recv.c

14
iguana/iguana_recv.c

@ -789,13 +789,13 @@ void iguana_gotblockM(struct supernet_info *myinfo,struct iguana_info *coin,stru
queue_enqueue("recvQ",&coin->recvQ,&req->DL,0); queue_enqueue("recvQ",&coin->recvQ,&req->DL,0);
return; return;
} }
/*if ( block == 0 ) if ( block == 0 )
block = iguana_blockhashset("noblock",coin,bp->bundleheight+bundlei,origtxdata->zblock.RO.hash2,1); block = iguana_blockhashset("noblock",coin,bp->bundleheight+bundlei,origtxdata->zblock.RO.hash2,1);
if ( block->hdrsi != bp->hdrsi || block->bundlei != bundlei ) if ( block->hdrsi != bp->hdrsi || block->bundlei != bundlei )
{ {
block->hdrsi = bp->hdrsi; block->hdrsi = bp->hdrsi;
block->bundlei = bundlei; block->bundlei = bundlei;
}*/ }
if ( (block= bp->blocks[bundlei]) == 0 || bits256_nonz(bp->hashes[bundlei]) == 0 ) if ( (block= bp->blocks[bundlei]) == 0 || bits256_nonz(bp->hashes[bundlei]) == 0 )
{ {
//printf("SET [%d:%d]\n",bp->hdrsi,bundlei); //printf("SET [%d:%d]\n",bp->hdrsi,bundlei);

Loading…
Cancel
Save