Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
9fdf98472e
  1. 6
      iguana/iguana777.c
  2. 2
      iguana/iguana_unspents.c

6
iguana/iguana777.c

@ -364,14 +364,10 @@ int32_t iguana_utxogen(struct iguana_info *coin,int32_t helperid,int32_t convert
return(0);
incr = IGUANA_NUMHELPERS;
if ( strcmp("BTC",coin->symbol) == 0 && coin->PREFETCHLAG > 0 )
{
incr = 1;
if ( incr < 1 )
incr = 1;
}
max = coin->bundlescount;
if ( helperid < incr )
{
max = coin->bundlescount;
if ( coin->bundles[max-1] != 0 && coin->bundles[max-1]->emitfinish <= 1 )
max--;
for (hdrsi=helperid; hdrsi<max; hdrsi+=incr)

2
iguana/iguana_unspents.c

@ -1018,7 +1018,7 @@ int32_t iguana_spendvectors(struct iguana_info *coin,struct iguana_bundle *bp,st
}
for (k=0; k<T[txidind].numvins && errs==0; k++,spendind++)
{
if ( bp == coin->current && (spendind % 1000) == 0 )
if ( bp == coin->current && (spendind % 100000) == 0 )
printf("[%-3d:%4d] spendvectors elapsed t.%-3d spendind.%d\n",bp->hdrsi,i,(uint32_t)time(NULL)-starttime,spendind);
u = 0;
s = &S[spendind];

Loading…
Cancel
Save