|
@ -1348,7 +1348,7 @@ void iguana_bundlestats(struct supernet_info *myinfo,struct iguana_info *coin,ch |
|
|
bp->issued[j] = block->issued; |
|
|
bp->issued[j] = block->issued; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if ( bp->hdrsi == starti )//bp->hdrsi >= starti && bp->hdrsi < lasti )
|
|
|
if ( bp->hdrsi >= starti && bp->hdrsi < lasti ) |
|
|
iguana_bundlemissings(myinfo,coin,bp,now); |
|
|
iguana_bundlemissings(myinfo,coin,bp,now); |
|
|
} |
|
|
} |
|
|
bp->metric = coin->bundlescount - bp->hdrsi; |
|
|
bp->metric = coin->bundlescount - bp->hdrsi; |
|
@ -1546,7 +1546,7 @@ void iguana_bundlestats(struct supernet_info *myinfo,struct iguana_info *coin,ch |
|
|
} |
|
|
} |
|
|
printf("%s bQ.%d %d:%02d:%02d stuck.%d max.%d\n",str,numbQ,(int32_t)difft.x/3600,(int32_t)(difft.x/60)%60,(int32_t)difft.x%60,coin->stucktime!=0?(uint32_t)time(NULL) - coin->stucktime:0,coin->maxstuck); |
|
|
printf("%s bQ.%d %d:%02d:%02d stuck.%d max.%d\n",str,numbQ,(int32_t)difft.x/3600,(int32_t)(difft.x/60)%60,(int32_t)difft.x%60,coin->stucktime!=0?(uint32_t)time(NULL) - coin->stucktime:0,coin->maxstuck); |
|
|
strcpy(coin->lastdispstr,str); |
|
|
strcpy(coin->lastdispstr,str); |
|
|
if ( (rand() % 100) == 0 ) |
|
|
//if ( (rand() % 100) == 0 )
|
|
|
myallocated(0,0); |
|
|
myallocated(0,0); |
|
|
coin->lastdisp = (uint32_t)time(NULL); |
|
|
coin->lastdisp = (uint32_t)time(NULL); |
|
|
} |
|
|
} |
|
|