Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
4b6c0e62aa
  1. 2
      iguana/iguana_bundles.c

2
iguana/iguana_bundles.c

@ -1134,7 +1134,7 @@ void iguana_bundlestats(struct iguana_info *coin,char *str,int32_t lag)
}
else
{
if ( firstgap == 0 && bp->numsaved < bp->n && bp->numcached < bp->n && (bp->emitfinish == 0 || bp->hdrsi == coin->longestchain/coin->chain->bundlesize) )
if ( firstgap == 0 && bp->numsaved < bp->n && bp->numcached < bp->n && (iguana_bundleready(coin,bp) != bp->n || bp->hdrsi == coin->longestchain/coin->chain->bundlesize) )
{
//printf("firstgap <- [%d] emit.%u bp->n.%d numsaved.%d numcached.%d numhashes.%d\n",bp->hdrsi,bp->emitfinish,bp->n,bp->numsaved,bp->numcached,bp->numhashes);
firstgap = bp;

Loading…
Cancel
Save