Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
dc98eed070
  1. 2
      iguana/iguana_bundles.c
  2. 1
      iguana/main.c

2
iguana/iguana_bundles.c

@ -691,7 +691,7 @@ int32_t iguana_bundlefinish(struct iguana_info *coin,struct iguana_bundle *bp)
for (i=0; i<bp->hdrsi; i++)
if ( (prevbp= coin->bundles[i]) == 0 || prevbp->emitfinish <= 1 || prevbp->utxofinish == 0 )
break;
if ( bp->hdrsi < coin->blocks.hwmchain.height/coin->chain->bundlesize && i >= bp->hdrsi-8 && time(NULL) > bp->emitfinish+10 )//&& coin->emitbusy <= 4 )
if ( bp->hdrsi < coin->blocks.hwmchain.height/coin->chain->bundlesize && i > bp->hdrsi-8 && time(NULL) > bp->emitfinish+10 )//&& coin->emitbusy <= 4 )
{
if ( bp->startutxo == 0 )
{

1
iguana/main.c

@ -1138,6 +1138,7 @@ void iguana_main(void *arg)
cJSON *argjson;
if ( (argjson= cJSON_Parse(arg)) != 0 )
{
IGUANA_NUMHELPERS = juint(argjson,"numhelpers");
if ( (myinfo->rpcport= juint(argjson,"port")) == 0 )
myinfo->rpcport = IGUANA_RPCPORT;
if ( (myinfo->publicRPC= juint(argjson,"publicRPC")) != 0 && myinfo->publicRPC != myinfo->rpcport )

Loading…
Cancel
Save