From b1f9d339e40d38560a208b383ab4b0032a37e667 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 14 Mar 2016 03:53:37 -0300 Subject: [PATCH] test --- iguana/iguana_ramchain.c | 4 ++-- iguana/iguana_unspents.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index e045f643c..f0d78324f 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -2225,11 +2225,11 @@ int32_t iguana_bundlesaveHT(struct iguana_info *coin,struct OS_memspace *mem,str } //printf("%x ",(uint32_t)block->RO.hash2.ulongs[3]); bp->blocks[bundlei]->RO.txn_count = mapchain->H.data->numtxids - 1; - printf("(%d %d).%d ",mapchain->H.data->numtxids,bp->blocks[bundlei]->RO.txn_count,numtxids); + //printf("(%d %d).%d ",mapchain->H.data->numtxids,bp->blocks[bundlei]->RO.txn_count,numtxids); //printf("%d ",numtxids); } scriptspace += pubkeyspace*1.1 + sigspace*1.1; - printf("mem.%p mapchain txid tables, scriptspace.%u sigspace.%u pubkeyspace.%u bundlei.%d/%d\n",mem,scriptspace,sigspace,pubkeyspace,bundlei,bp->n); + //printf("mem.%p mapchain txid tables, scriptspace.%u sigspace.%u pubkeyspace.%u bundlei.%d/%d\n",mem,scriptspace,sigspace,pubkeyspace,bundlei,bp->n); if ( bundlei != bp->n ) { if ( (block= bp->blocks[bundlei]) != 0 ) diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index 86453960f..794b2ef9e 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -97,7 +97,7 @@ struct iguana_bundle *iguana_spent(struct iguana_info *coin,bits256 *prevhashp,u { unspentind = TX.firstvout + ((prev_vout > 0) ? prev_vout : 0); hdrsi = height / coin->chain->bundlesize; - printf("%s height.%d firstvout.%d prev.%d ->U%d\n",bits256_str(str,prev_hash),height,TX.firstvout,prev_vout,unspentind); + //printf("%s height.%d firstvout.%d prev.%d ->U%d\n",bits256_str(str,prev_hash),height,TX.firstvout,prev_vout,unspentind); } else {