|
|
@ -647,13 +647,10 @@ void LP_coinsloop(void *_coins) |
|
|
|
{ |
|
|
|
if ( LP_blockinit(coin,coin->lastscanht) < 0 ) |
|
|
|
{ |
|
|
|
static uint32_t counter; |
|
|
|
if ( counter++ < 3 ) |
|
|
|
{ |
|
|
|
printf("blockinit.%s %d error\n",coin->symbol,coin->lastscanht); |
|
|
|
sleep(1); |
|
|
|
} |
|
|
|
break; |
|
|
|
printf("blockinit.%s %d error\n",coin->symbol,coin->lastscanht); |
|
|
|
sleep(1); |
|
|
|
j--; |
|
|
|
continue; |
|
|
|
} |
|
|
|
coin->lastscanht++; |
|
|
|
if ( coin->lastscanht == coin->longestchain+1 || strcmp("BTC",coins) == 0 ) |
|
|
|