Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
93bb866ceb
  1. 2
      iguana/iguana777.c
  2. 4
      iguana/iguana_unspents.c

2
iguana/iguana777.c

@ -385,7 +385,7 @@ int32_t iguana_utxogen(struct iguana_info *coin,int32_t helperid,int32_t convert
//printf("spendvectors retval.%d\n",retval);
if ( retval > 0 )
{
printf("GENERATED UTXO.%d for ht.%d duration %d seconds\n",bp->hdrsi,bp->bundleheight,(uint32_t)time(NULL) - bp->startutxo);
//printf("GENERATED UTXO.%d for ht.%d duration %d seconds\n",bp->hdrsi,bp->bundleheight,(uint32_t)time(NULL) - bp->startutxo);
num++;
}
bp->utxofinish = (uint32_t)time(NULL);

4
iguana/iguana_unspents.c

@ -1946,7 +1946,9 @@ int32_t iguana_realtime_update(struct iguana_info *coin)
coin->blocks.RO[bp->bundleheight+bundlei] = block->RO;
coin->RTheight++;
//printf(">>>> RT.%d hwm.%d L.%d T.%d U.%d S.%d P.%d X.%d -> size.%ld\n",coin->RTheight,coin->blocks.hwmchain.height,coin->longestchain,dest->H.txidind,dest->H.unspentind,dest->H.spendind,dest->pkind,dest->externalind,(long)dest->H.data->allocsize);
coin->RTramchain.H.data->numblocks = bundlei + 1;
if ( coin->RTramchain.H.data != 0 )
coin->RTramchain.H.data->numblocks = bundlei + 1;
else break;
} else break;
}
}

Loading…
Cancel
Save