|
@ -1101,6 +1101,12 @@ void iguana_bundlestats(struct iguana_info *coin,char *str,int32_t lag) |
|
|
tmp = (difft.millis * 1000000); |
|
|
tmp = (difft.millis * 1000000); |
|
|
tmp %= 1000000000; |
|
|
tmp %= 1000000000; |
|
|
difft.millis = ((double)tmp / 1000000.); |
|
|
difft.millis = ((double)tmp / 1000000.); |
|
|
|
|
|
if ( firstgap != coin->current && firstgap != 0 ) |
|
|
|
|
|
{ |
|
|
|
|
|
for (i=0; i<firstgap->n; i++) |
|
|
|
|
|
if ( (block= firstgap->blocks[i]) != 0 && block->txvalid == 0 ) |
|
|
|
|
|
iguana_blockQ("newfirst",coin,firstgap,i,block->RO.hash2,1); |
|
|
|
|
|
} |
|
|
if ( (coin->current= firstgap) == 0 ) |
|
|
if ( (coin->current= firstgap) == 0 ) |
|
|
{ |
|
|
{ |
|
|
firstgap = coin->current = (coin->bundlescount > 0) ? coin->bundles[coin->bundlescount-1] : coin->bundles[0]; |
|
|
firstgap = coin->current = (coin->bundlescount > 0) ? coin->bundles[coin->bundlescount-1] : coin->bundles[0]; |
|
|