diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index ea35d2ad7..ed28b23bb 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -478,7 +478,8 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int flag++; counter++; block->peerid = 0; - iguana_blockQ("kick",coin,bp,j,block->RO.hash2,1); + iguana_blockQ("kick",coin,bp,j,block->RO.hash2,now > block->issued+lag*10); + bp->issued[i] = block->issued = now; } } printf("kill peer.%d %s reissued\n",i,addr->ipaddr); @@ -498,7 +499,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int if ( bp == coin->current ) { counter++; - iguana_blockQ("kick",coin,bp,i,block->RO.hash2,1); + iguana_blockQ("kick",coin,bp,i,block->RO.hash2,now > block->issued+lag*10); //if ( bp == coin->current && (addr= coin->peers.ranked[rand() % numpeers]) != 0 ) // iguana_sendblockreqPT(coin,addr,bp,i,block->RO.hash2,0); printf("[%d:%d] ",bp->hdrsi,i);