Browse Source

test

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

6
iguana/iguana_bundles.c

@ -474,8 +474,10 @@ void iguana_bundlestats(struct iguana_info *coin,char *str)
{
if ( firstgap == 0 )
firstgap = lastpending = bp;
spaceused += bp->datasize;
if ( lastpending == 0 && spaceused > coin->MAXMEM )
else if ( ++pending == coin->MAXBUNDLES )
lastpending = bp;
spaceused += bp->estsize;
if ( spaceused < coin->MAXMEM )
lastpending = bp;
sortbuf[m*2] = bp->metric;
sortbuf[m*2 + 1] = i;

Loading…
Cancel
Save