diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 010e07bcf..1d719ef77 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -372,11 +372,11 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int now = (uint32_t)time(NULL); if ( bp == coin->current ) { - if ( time(NULL) > bp->lastspeculative+60 ) + if ( 0 && time(NULL) > bp->lastspeculative+60 ) { for (i=1,counter=0; in; i++) { - if ( (block= bp->blocks[i]) == 0 || block->RO.recvlen == 0 ) + if ( (block= bp->blocks[i]) == 0 || block->fpos < 0 || block->fpipbits == 0 ) { if ( bp->speculative != 0 && bits256_nonz(bp->hashes[i]) == 0 && bits256_nonz(bp->speculative[i]) > 0 && i < bp->numspec ) iguana_blockQ("speculate0",coin,0,-2,bp->speculative[i],0), counter++; diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index fed5c337c..c1606361c 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -915,9 +915,12 @@ int32_t iguana_reqhdrs(struct iguana_info *coin) init_hexbytes_noT(hashstr,bp->hashes[0].bytes,sizeof(bits256)); queue_enqueue("hdrsQ",&coin->hdrsQ,queueitem(hashstr),1); //printf("hdrsi.%d reqHDR.(%s) numhashes.%d\n",bp->hdrsi,hashstr,bp->numhashes); - iguana_blockQ("reqhdrs0",coin,bp,0,bp->hashes[0],0); - if ( bits256_nonz(bp->hashes[1]) > 0 ) - iguana_blockQ("reqhdrs1",coin,bp,1,bp->hashes[1],0); + if ( 0 ) + { + iguana_blockQ("reqhdrs0",coin,bp,0,bp->hashes[0],0); + if ( bits256_nonz(bp->hashes[1]) > 0 ) + iguana_blockQ("reqhdrs1",coin,bp,1,bp->hashes[1],0); + } n++; bp->hdrtime = bp->issuetime = (uint32_t)time(NULL); }