Browse Source

test

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

2
iguana/iguana777.c

@ -417,7 +417,7 @@ int32_t iguana_utxogen(struct iguana_info *coin,int32_t helperid,int32_t convert
return(0);
}
incr = IGUANA_NUMHELPERS;
if ( 1 || coin->PREFETCHLAG > 0 )
if ( 1 || coin->PREFETCHLAG > 0 ) // data issues on slow systems
incr = 1;
max = coin->bundlescount;
if ( coin->bundles[max-1] != 0 && coin->bundles[max-1]->emitfinish <= 1 )

6
iguana/iguana_unspents.c

@ -751,7 +751,7 @@ struct iguana_pkhash *iguana_pkhashfind(struct iguana_info *coin,struct iguana_r
ramchain = &bp->ramchain;//(bp->isRT != 0) ? &bp->ramchain : &coin->RTramchain;
if ( (rdata= ramchain->H.data) != 0 )
{
numpkinds = (bp->isRT != 0) ? rdata->numpkinds : ramchain->pkind;
numpkinds = rdata->numpkinds;
PKbits = (void *)(long)((long)rdata + rdata->PKoffset);
P = (void *)(long)((long)rdata + rdata->Poffset);
ACCTS = (void *)(long)((long)rdata + rdata->Aoffset);
@ -763,7 +763,9 @@ struct iguana_pkhash *iguana_pkhashfind(struct iguana_info *coin,struct iguana_r
*p = P[pkind];
printf("return pkind.%u %.8f\n",pkind,dstr(*balancep));
return(p);
} else printf("[%d] not found pkind.%d vs num.%d RT.%d rdata.%p\n",i,pkind,rdata->numpkinds,bp->isRT,rdata);
}
else if ( pkind != 0 )
printf("[%d] not found pkind.%d vs num.%d RT.%d rdata.%p\n",i,pkind,rdata->numpkinds,bp->isRT,rdata);
} else printf("%s.[%d] error null rdata isRT.%d\n",coin->symbol,i,bp->isRT);
}
}

Loading…
Cancel
Save