Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
c8adcddb0d
  1. 4
      iguana/iguana_bundles.c
  2. 4
      iguana/iguana_spendvectors.c

4
iguana/iguana_bundles.c

@ -1064,9 +1064,9 @@ int32_t iguana_bundlefinalize(struct supernet_info *myinfo,struct iguana_info *c
for (i=0; i<coin->bundlescount; i++)
if ( (tmpbp= coin->bundles[i]) != 0 )
tmpbp->converted = tmpbp->balancefinish = tmpbp->validated = 0;
#ifdef __PNACL__
//#ifdef __PNACL__
iguana_bundlevalidate(myinfo,coin,bp,1);
#endif
//#endif
}
else
{

4
iguana/iguana_spendvectors.c

@ -1151,7 +1151,9 @@ int32_t iguana_bundlevalidate(struct supernet_info *myinfo,struct iguana_info *c
}
}
free(blockspace);
bp->validated = (uint32_t)time(NULL);
if ( totalerrs == 0 )
bp->validated = (uint32_t)time(NULL);
else bp->startutxo = bp->utxofinish = 0;
// printf("VALIDATED.[%d] ht.%d duration.%d errs.%d total.%lld %u | total errs.%d validated.%d %llx\n",bp->hdrsi,bp->bundleheight,bp->validated - now,errs,(long long)total,bp->validated,totalerrs,totalvalidated,(long long)validatehash.txid);
//iguana_volatilesmap(coin,&bp->ramchain);
//if ( bp == coin->current )

Loading…
Cancel
Save