diff --git a/iguana/iguana777.c b/iguana/iguana777.c index c6877aea4..2bbba4d72 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -507,7 +507,7 @@ void iguana_helper(void *arg) flag++; } } - if ( queue_size(&spendvectorsQ) != 0 || queue_size(&convertQ) != 0 || queue_size(&bundlesQ) > 10 ) + if ( queue_size(&spendvectorsQ) != 0 || queue_size(&convertQ) != 0 || queue_size(&bundlesQ) > 1 ) allcurrent = 0; if ( flag != 0 ) usleep(polltimeout * 250); diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 61fff9fcc..1561cb29f 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -769,11 +769,11 @@ int32_t iguana_bundlefinish(struct iguana_info *coin,struct iguana_bundle *bp) break; if ( bp->hdrsi < coin->blocks.hwmchain.height/coin->chain->bundlesize && i >= bp->hdrsi-IGUANA_NUMHELPERS && time(NULL) > bp->emitfinish+3 ) { - printf("[%d] vs %d i.%d vs %d emitted.%ld (%d %d %d) s.%u f.%u\n",bp->hdrsi,coin->blocks.hwmchain.height/coin->chain->bundlesize,i,bp->hdrsi-IGUANA_NUMHELPERS/2,time(NULL) - bp->emitfinish,bp->hdrsi < coin->blocks.hwmchain.height/coin->chain->bundlesize,i >= bp->hdrsi-IGUANA_NUMHELPERS, time(NULL) > bp->emitfinish,bp->startutxo,bp->utxofinish); + //printf("[%d] vs %d i.%d vs %d emitted.%ld (%d %d %d) s.%u f.%u\n",bp->hdrsi,coin->blocks.hwmchain.height/coin->chain->bundlesize,i,bp->hdrsi-IGUANA_NUMHELPERS/2,time(NULL) - bp->emitfinish,bp->hdrsi < coin->blocks.hwmchain.height/coin->chain->bundlesize,i >= bp->hdrsi-IGUANA_NUMHELPERS, time(NULL) > bp->emitfinish,bp->startutxo,bp->utxofinish); if ( bp->startutxo == 0 ) { bp->startutxo = (uint32_t)time(NULL); - printf("spendvectorsQ.%d\n",bp->hdrsi); + //printf("spendvectorsQ.%d\n",bp->hdrsi); iguana_spendvectorsQ(coin,bp); } else if ( bp->utxofinish != 0 ) diff --git a/iguana/main.c b/iguana/main.c index bbb6cbdcc..3921cb25c 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -386,7 +386,7 @@ void mainloop(struct supernet_info *myinfo) { if ( (bp= coin->bundles[j]) != 0 ) { - printf("bundleQ.[%d]\n",j); + //printf("bundleQ.[%d]\n",j); bp->balancefinish = bp->startutxo = 0; bp->utxofinish = 1; iguana_bundleQ(coin,bp,1000);