Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
772f54f068
  1. 7
      iguana/main.c

7
iguana/main.c

@ -376,10 +376,9 @@ 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 )
{ {
printf("%s is stuck too long, restarting\n",coin->symbol); printf("%s is stuck too long, restarting\n",coin->symbol);
iguana_bundlepurgefiles(coin,bp); if ( bp->emitfinish == 0 )
iguana_coinpurge(coin); iguana_bundlepurgefiles(coin,bp);
sleep(5); //iguana_coinpurge(coin);
coin->active = 1;
sleep(5); sleep(5);
} }
coin->RTramchain_busy = (coin->RTgenesis == 0 || queue_size(&balancesQ) != 0); coin->RTramchain_busy = (coin->RTgenesis == 0 || queue_size(&balancesQ) != 0);

Loading…
Cancel
Save