Browse Source

test

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

4
iguana/iguana777.c

@ -345,7 +345,9 @@ int32_t iguana_utxogen(struct iguana_info *coin,int32_t helperid,int32_t convert
int32_t hdrsi,retval,n,max,incr,num = 0; struct iguana_bundle *bp;
if ( coin->PREFETCHLAG >= 0 && helperid != 0 )
return(0);
max = coin->bundlescount-1;
max = coin->bundlescount;
if ( coin->bundles[max-1] != 0 && coin->bundles[max-1]->emitfinish <= 1 )
max--;
incr = (coin->PREFETCHLAG >= 0) ? 1 : IGUANA_NUMHELPERS;
for (hdrsi=helperid; hdrsi<max; hdrsi+=incr)
{

4
iguana/iguana_unspents.c

@ -271,7 +271,7 @@ int32_t iguana_volatileupdate(struct iguana_info *coin,int32_t incremental,struc
if ( spentchain->allocatedA == 0 || spentchain->allocatedU == 0 )
{
iguana_volatilesalloc(coin,spentchain);
printf("volatilesalloc.[%d]\n",spent_hdrsi);
printf("volatilesalloc.[%d] ",spent_hdrsi);
}
if ( incremental == 0 )
{
@ -1103,7 +1103,7 @@ int32_t iguana_balancegen(struct iguana_info *coin,int32_t incremental,struct ig
}
//if ( coin->PREFETCHLAG > 0 )
iguana_ramchain_prefetch(coin,ramchain,0);
printf("BALANCEGEN.%d hdrs.%d\n",bp->bundleheight,bp->hdrsi);
printf("BALANCEGEN.[%d] ",bp->hdrsi);
txidind = spendind = rdata->firsti;
for (i=0; i<bp->n; i++)
{

Loading…
Cancel
Save