Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
abed7467f3
  1. 6
      iguana/iguana_bundles.c

6
iguana/iguana_bundles.c

@ -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];

Loading…
Cancel
Save