|
|
@ -604,7 +604,7 @@ void iguana_helper(void *arg) |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
//printf("skip.[%d] nexttime.%u lag.%ld coin->active.%d\n",bp->hdrsi,bp->nexttime,time(NULL)-bp->nexttime,coin->active);
|
|
|
|
printf("skip.[%d] nexttime.%u lag.%ld coin->active.%d\n",bp->hdrsi,bp->nexttime,time(NULL)-bp->nexttime,coin->active); |
|
|
|
allcurrent--; |
|
|
|
iguana_bundleQ(coin,bp,1000); |
|
|
|
} |
|
|
@ -804,7 +804,7 @@ struct iguana_info *iguana_setcoin(char *symbol,void *launched,int32_t maxpeers, |
|
|
|
if ( (coin= iguana_coinfind(symbol)) == 0 ) |
|
|
|
coin = iguana_coinadd(symbol,name,json,virtcoin); |
|
|
|
//printf("ensure directories maxval.%d mult.%d start.%d end.%d\n",maxval,mult,coin->startPEND,coin->endPEND);
|
|
|
|
mult = (strcmp("BTC",coin->symbol) != 0) ? 8 : 128; |
|
|
|
mult = (strcmp("BTC",coin->symbol) != 0) ? 32 : 128; |
|
|
|
maxval = IGUANA_MAXPENDBUNDLES; |
|
|
|
if ( coin->virtualchain == 0 ) |
|
|
|
{ |
|
|
|