From 602732e3df8f6ac64981af5dade4e26ac60d1190 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 21 Aug 2018 07:50:49 -1100 Subject: [PATCH] -print, auto reindex if cc state changes --- src/cc/faucet.cpp | 2 +- src/main.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cc/faucet.cpp b/src/cc/faucet.cpp index 69a87f740..676cb152c 100644 --- a/src/cc/faucet.cpp +++ b/src/cc/faucet.cpp @@ -150,7 +150,7 @@ int64_t AddFaucetInputs(struct CCcontract_info *cp,CMutableTransaction &mtx,CPub { txid = it->first.txhash; vout = (int32_t)it->first.index; - char str[65]; fprintf(stderr,"check %s/v%d %.8f`\n",uint256_str(str,txid),vout,(double)it->second.satoshis/COIN); + //char str[65]; fprintf(stderr,"check %s/v%d %.8f`\n",uint256_str(str,txid),vout,(double)it->second.satoshis/COIN); // no need to prevent dup if ( GetTransaction(txid,vintx,hashBlock,false) != 0 ) { diff --git a/src/main.cpp b/src/main.cpp index 8231c449b..3726546e4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5319,7 +5319,6 @@ bool InitBlockIndex() { // Initialize global variables that cannot be constructed at startup. recentRejects.reset(new CRollingBloomFilter(120000, 0.000001)); - fprintf(stderr,"InitBlockIndex called\n"); // Check whether we're already initialized if (chainActive.Genesis() != NULL) {