From b3c3f420892a4db8543914619374fe47a1218178 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 16 Sep 2016 11:49:11 -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 29555f468..235ae6dca 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -118,7 +118,7 @@ int32_t iguana_sendblockreqPT(struct iguana_info *coin,struct iguana_peer *addr, addr->pendtime = (uint32_t)time(NULL); if ( bp != 0 && bundlei >= 0 && bundlei < bp->n ) { - if ( coin->RTheight == 0 && bp != coin->current && bp->issued[bundlei] > 1 && addr->pendtime < bp->issued[bundlei]+30 ) + if ( coin->RTheight == 0 && bp != coin->current && bp->issued[bundlei] > 1 && addr->pendtime < bp->issued[bundlei]+7 ) return(0); bp->issued[bundlei] = addr->pendtime; } @@ -1939,10 +1939,10 @@ int32_t iguana_reqhdrs(struct iguana_info *coin) if ( (bp= coin->bundles[i]) != 0 && (bp == coin->current || bp->hdrsi == coin->blocks.hwmchain.height/coin->chain->bundlesize || i == coin->bundlescount-1 || bp->numhashes < bp->n) ) { if ( bp == coin->current ) - lag = 7; + lag = 5; else if ( coin->current == 0 || bp->hdrsi > coin->current->hdrsi+coin->MAXBUNDLES ) continue; - else lag = 17; + else lag = 13; if ( time(NULL) > bp->issuetime+lag ) { if ( 0 && bp == coin->current )