From b095c5bdc3090bd653d13b67ef45e5734b39a96d Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 4 Sep 2016 03:48:48 -0300 Subject: [PATCH] test --- iguana/iguana_bundles.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 4c9f5a08e..23680b7f8 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -618,7 +618,7 @@ int32_t iguana_bundleissuemissing(struct iguana_info *coin,struct iguana_bundle return(0); starti = coin->current == 0 ? 0 : coin->current->hdrsi; lasti = coin->lastpending == 0 ? starti+coin->MAXBUNDLES : coin->lastpending->hdrsi; - if ( bp->hdrsi < starti || bp->hdrsi > lasti || bp->emitfinish != 0 || ((priority > 0 || bp == coin->current) && time(NULL) < bp->missingstime+3) ) + if ( bp->hdrsi < starti || bp->hdrsi > lasti || bp->emitfinish != 0 )//|| ((priority > 0 || bp == coin->current) && time(NULL) < bp->missingstime+3) ) return(0); bp->missingstime = (uint32_t)time(NULL); if ( bp->durationscount > 10 ) @@ -684,9 +684,9 @@ int32_t iguana_bundleissuemissing(struct iguana_info *coin,struct iguana_bundle } } } - if ( priority <= 2 && firsti >= 0 && bp->issued[firsti] != 1 && (strcmp("BTC",coin->symbol) != 0 || bp == coin->current) ) + if ( firsti >= 0 && bp->issued[firsti] != 1 && bp == coin->current ) { - //printf("[%d] first missing.%d of %d\n",bp->hdrsi,firsti,nonz); + printf("[%d] first missing.%d of %d\n",bp->hdrsi,firsti,nonz); iguana_bundleblock(coin,&hash2,bp,firsti); if ( bits256_nonz(hash2) != 0 ) {