Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
2643393955
  1. 5
      iguana/iguana_bundles.c
  2. 1
      iguana/iguana_unspents.c

5
iguana/iguana_bundles.c

@ -981,7 +981,8 @@ void iguana_bundlestats(struct iguana_info *coin,char *str)
{
done++;
numemit++;
iguana_bundlepurge(coin,bp);
if ( firstgap != 0 && bp->hdrsi > firstgap->hdrsi-3 )
iguana_bundlepurge(coin,bp);
}
else
{
@ -990,7 +991,7 @@ void iguana_bundlestats(struct iguana_info *coin,char *str)
lastpending = bp;
//printf("SET MAXBUNDLES.%d pend.%d\n",bp->hdrsi,pending);
}
if ( firstgap == 0 && (bp->emitfinish == 0 || bp->n < coin->chain->bundlesize) )
if ( firstgap == 0 )//&& (bp->emitfinish == 0 || bp->n < coin->chain->bundlesize) )
{
//printf("firstgap <- [%d] emit.%u bp->n.%d\n",bp->hdrsi,bp->emitfinish,bp->n);
firstgap = bp;

1
iguana/iguana_unspents.c

@ -297,6 +297,7 @@ int32_t iguana_utxogen(struct iguana_info *coin,struct iguana_bundle *bp)
{
errs++;
printf("utxogen: unresolved spendind.%d hdrsi.%d\n",spendind,bp->hdrsi);
break;
}
}
}

Loading…
Cancel
Save