From e0ef9469e3ffb5b9ffcd73ef9462003fd79876da Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 12 Jan 2016 23:35:21 -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 8a8f559c6..c4b0e47bd 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -311,7 +311,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 ( 1 && bp->emitfinish == 0 && (block= bp->blocks[i]) != 0 && (block->queued == 0 && block->fpipbits == 0) && block->numrequests <= bp->minrequests+10 ) - iguana_blockQ(coin,bp,i,block->RO.hash2,0), n++; + iguana_blockQ(coin,bp,i,block->RO.hash2,1), n++; } printf("ALLHASHES FOUND! %d requested.%d\n",bp->bundleheight,n); return(i); @@ -397,7 +397,7 @@ struct iguana_bundlereq *iguana_recvblockhdrs(struct iguana_info *coin,struct ig //fprintf(stderr,"i.%d of %d bundleset\n",i,n); if ( (bp= iguana_bundleset(coin,&block,&bundlei,&blocks[i])) != 0 && bp->hdrsi < IGUANA_MAXACTIVEBUNDLES ) { - iguana_blockQ(coin,bp,bundlei,blocks[i].RO.hash2,0); + iguana_blockQ(coin,bp,bundlei,blocks[i].RO.hash2,1); if ( i == 0 ) printf("GOT HDRS[%d] Q.(%d %d) ht.%d hashes.%d recv.%d\n",n,queue_size(&coin->priorityQ),queue_size(&coin->blocksQ),bp->bundleheight,bp->numhashes,bp->numrecv); }