Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
6fff9a31e8
  1. 1
      iguana/iguana777.c
  2. 2
      iguana/main.c

1
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 ) if ( (helperid % IGUANA_NUMHELPERS) == (0 % IGUANA_NUMHELPERS) && (ptr= queue_dequeue(&bundlesQ,0)) != 0 )
{ {
printf("bundleQ size.%d\n",queue_size(&bundlesQ));
idle = 0; idle = 0;
coin = ptr->coin; coin = ptr->coin;
if ( (bp= ptr->bp) != 0 && coin != 0 ) if ( (bp= ptr->bp) != 0 && coin != 0 )

2
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 ( (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); printf("%s is stuck too long, restarting due to %d\n",coin->symbol,bp->hdrsi);
if ( coin->started != 0 ) if ( coin->started != 0 )

Loading…
Cancel
Save