Browse Source

test

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

4
iguana/iguana777.c

@ -484,14 +484,14 @@ int32_t iguana_utxogen(struct iguana_info *coin,int32_t helperid,int32_t convert
if ( helperid == 0 )
{
coin->spendvectorsaved = (uint32_t)time(NULL);
printf("UTXOGEN spendvectorsaved <- %u\n",coin->spendvectorsaved);
//printf("UTXOGEN spendvectorsaved <- %u\n",coin->spendvectorsaved);
}
else
{
while ( coin->spendvectorsaved <= 1 )
sleep(IGUANA_NUMHELPERS+3);
}
printf("helper.%d helperdone\n",helperid);
//printf("helper.%d helperdone\n",helperid);
return(num);
}

2
iguana/iguana_unspents.c

@ -2028,7 +2028,7 @@ int32_t iguana_bundlevalidate(struct iguana_info *coin,struct iguana_bundle *bp,
int32_t i,max,len,errs = 0; struct sha256_vstate vstate; bits256 validatehash; int64_t total = 0;
if ( bp->validated <= 1 || forceflag != 0 )
{
printf("validate.[%d]\n",bp->hdrsi);
//printf("validate.[%d]\n",bp->hdrsi);
vupdate_sha256(validatehash.bytes,&vstate,0,0);
sprintf(fname,"%s/%s/validated/%d",GLOBAL_DBDIR,coin->symbol,bp->bundleheight);
//printf("validatefname.(%s)\n",fname);

Loading…
Cancel
Save