From f07a0a8c3b83df12c863c53d9bef26d749d0b631 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 11 Aug 2016 13:12:49 -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 628575ab5..e1e0b1998 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -1076,7 +1076,7 @@ int32_t iguana_bundleiters(struct supernet_info *myinfo,struct iguana_info *coin if ( coin->started == 0 || coin->active == 0 ) { printf("%s not ready yet\n",coin->symbol); - bp->nexttime = (uint32_t)time(NULL) + 3; + bp->nexttime = (uint32_t)time(NULL) + 1; iguana_bundleQ(coin,bp,1000); return(retval); } @@ -1092,7 +1092,7 @@ int32_t iguana_bundleiters(struct supernet_info *myinfo,struct iguana_info *coin iguana_autoextend(coin,bp); if ( 0 && bp->hdrsi == 0 ) printf("ITER utxo.%u now.%u spec.%-4d bundle.%-4d h.%-4d r.%-4d s.%-4d F.%d T.%d issued.%d mb.%d/%d\n",bp->utxofinish,(uint32_t)time(NULL),bp->numspec,bp->bundleheight/coin->chain->bundlesize,bp->numhashes,bp->numrecv,bp->numsaved,bp->emitfinish,timelimit,counter,coin->MAXBUNDLES,coin->bundlescount); - bp->nexttime = (uint32_t)time(NULL) + ((bp->hdrsi > starti) ? cbrt(bp->hdrsi - starti)/10 : 0); + bp->nexttime = (uint32_t)time(NULL) + ((bp->hdrsi > starti) ? 3 : 0); if ( bp->hdrsi == coin->bundlescount-1 || (bp->numhashes < bp->n && bp->bundleheight < coin->longestchain-coin->chain->bundlesize) ) iguana_bundlehdr(coin,bp,starti); else if ( bp->emitfinish == 0 && bp->numsaved >= bp->n ) @@ -1110,7 +1110,7 @@ int32_t iguana_bundleiters(struct supernet_info *myinfo,struct iguana_info *coin counter = iguana_bundleissuemissing(coin,bp,1,3.); if ( 0 && counter > 0 ) printf("ITER.rt%d now.%u spec.%-4d bundle.%-4d h.%-4d r.%-4d s.%-4d F.%d T.%d issued.%d mb.%d/%d\n",bp->isRT,(uint32_t)time(NULL),bp->numspec,bp->bundleheight/coin->chain->bundlesize,bp->numhashes,bp->numrecv,bp->numsaved,bp->emitfinish,timelimit,counter,coin->MAXBUNDLES,coin->bundlescount); - } else bp->nexttime += 3; + } else bp->nexttime++; if ( bp->emitfinish <= 1 ) iguana_bundleQ(coin,bp,1000); else