From 954f07c6cdc7e18fd1d386bf0a0a54cd340d1c2a Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 14 Mar 2016 23:06:51 -0300 Subject: [PATCH] test --- iguana/iguana_recv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 3a84236d9..a2e01a3f1 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -423,9 +423,9 @@ int32_t iguana_bundlekick(struct iguana_info *coin,struct iguana_bundle *bp,int3 { if ( (block= bp->blocks[i]) != 0 ) { - if ( block->fpipbits == 0 || block->RO.recvlen == 0 ) + if ( block->fpipbits == 0 )//|| block->RO.recvlen == 0 ) { - if ( bp->issued[i] == 0 || now > bp->issued[i]+10 ) + if ( block->issued == 0 || now > block->issued+60 ) { block->numrequests++; if ( bp->hdrsi == starti ) @@ -580,7 +580,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int issued = 0; max = 100 + (bp->n/coin->MAXBUNDLES)*(bp->hdrsi - starti); iguana_bundlekick(coin,bp,starti,max); - if ( currentbp != 0 && queue_size(&coin->blocksQ) == 0 ) + if ( 0 && currentbp != 0 && queue_size(&coin->blocksQ) == 0 ) iguana_bundlekick(coin,currentbp,starti,max); if ( coin->numsaved > coin->longestchain*.99 ) {