From 6fff9a31e83d3e442502f8fd7a05afd9c14505d8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 27 Mar 2016 23:52:33 -0300 Subject: [PATCH] test --- iguana/iguana777.c | 1 + iguana/main.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 764440c84..dff7132d6 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -394,6 +394,7 @@ void iguana_helper(void *arg) }*/ if ( (helperid % IGUANA_NUMHELPERS) == (0 % IGUANA_NUMHELPERS) && (ptr= queue_dequeue(&bundlesQ,0)) != 0 ) { + printf("bundleQ size.%d\n",queue_size(&bundlesQ)); idle = 0; coin = ptr->coin; if ( (bp= ptr->bp) != 0 && coin != 0 ) diff --git a/iguana/main.c b/iguana/main.c index e2ee5b1b7..3a4430b5c 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -385,7 +385,7 @@ void mainloop(struct supernet_info *myinfo) } if ( (bp= coin->current) != 0 && coin->stucktime != 0 && coin->isRT == 0 && coin->RTheight == 0 && (time(NULL) - coin->stucktime) > coin->MAXSTUCKTIME ) { - if ( 1 ) + if ( 0 ) { printf("%s is stuck too long, restarting due to %d\n",coin->symbol,bp->hdrsi); if ( coin->started != 0 )