From ec4739034dec8581dcf79d2b39be3554389b6933 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 12 Jan 2016 10:54:39 -0300 Subject: [PATCH] test --- iguana/iguana_recv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 8666e5bc0..c0a3deb7f 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -304,7 +304,7 @@ int32_t iguana_allhashcmp(struct iguana_info *coin,struct iguana_bundle *bp,bits { if ( (err= iguana_bundlehash2add(coin,0,bp,i,blockhashes[i])) < 0 ) return(err); - if ( bp->emitfinish == 0 && (block= bp->blocks[i]) != 0 && (block->queued == 0 && block->fpipbits == 0) )//&& block->numrequests < 3 ) + if ( bp->emitfinish == 0 && (block= bp->blocks[i]) != 0 && (block->queued == 0 && block->fpipbits == 0) && block->numrequests < 3 ) iguana_blockQ(coin,bp,i,block->RO.hash2,0), n++; } printf("ALLHASHES FOUND! %d requested.%d\n",bp->bundleheight,n); @@ -844,7 +844,7 @@ int32_t iguana_processrecv(struct iguana_info *coin) // single threaded lflag++; //else printf("chainlink error for %d\n",coin->blocks.hwmchain.height+1); } - if ( 1 ) + if ( 0 ) { double threshold,lag = OS_milliseconds() - coin->backstopmillis; threshold = (10 + coin->longestchain - coin->blocksrecv);