From f8daf651f3be25f5c7006e7a4ccbf8981f711eea Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 9 Sep 2016 11:54:59 -0300 Subject: [PATCH] test --- iguana/iguana777.c | 4 ++++ iguana/iguana_bundles.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 2b2976aaf..bcac0a4f4 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -621,7 +621,11 @@ int32_t iguana_coin_mainiter(struct supernet_info *myinfo,struct iguana_info *co { for (j=0; jbundlescount; j++) if ( (bp= coin->bundles[j]) != 0 && bp->queued == 0 && bp->startutxo == 0 ) + { + printf("bundleQ.[%d]\n",j); iguana_bundleQ(myinfo,coin,bp,0); + } + printf("queued\n"); } } if ( (bp= coin->current) != 0 && coin->stucktime != 0 && coin->isRT == 0 && coin->RTheight == 0 && (time(NULL) - coin->stucktime) > coin->MAXSTUCKTIME ) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 93c0ffa94..d599d7530 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -1112,7 +1112,7 @@ int32_t iguana_bundleiters(struct supernet_info *myinfo,struct iguana_info *coin iguana_bundlecalcs(myinfo,coin,bp,lag); if ( coin->blockdepth == 0 && coin->blockdepth == 0 && bp->hdrsi == coin->bundlescount-1 ) iguana_autoextend(myinfo,coin,bp); - if ( 0 && bp->hdrsi == 0 ) + //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) ? 0 : -2); if ( bp->hdrsi == coin->bundlescount-1 || (bp->numhashes < bp->n && bp->bundleheight < coin->longestchain-coin->chain->bundlesize) )