From 6a0c98266cbf93a922535edccbf12daebe325aff Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 17 Apr 2018 15:03:20 +0300 Subject: [PATCH] Test --- src/main.cpp | 4 ++-- src/policy/fees.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 0e449ebcc..4bb45e954 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4393,10 +4393,10 @@ CBlockIndex * InsertBlockIndex(uint256 hash) bool static LoadBlockIndexDB() { const CChainParams& chainparams = Params(); - //fprintf(stderr,"load blockindexDB %u\n",(uint32_t)time(NULL)); + LogPrintf("%s: start loading guts\n", __func__); if (!pblocktree->LoadBlockIndexGuts()) return false; - //fprintf(stderr,"load blockindexDB guts %u\n",(uint32_t)time(NULL)); + LogPrintf("%s: loaded guts\n", __func__); boost::this_thread::interruption_point(); // Calculate nChainWork diff --git a/src/policy/fees.cpp b/src/policy/fees.cpp index e1fb1c3c6..014b97cc3 100644 --- a/src/policy/fees.cpp +++ b/src/policy/fees.cpp @@ -57,9 +57,9 @@ unsigned int TxConfirmStats::FindBucketIndex(double val) auto it = bucketMap.lower_bound(val); if ( it != bucketMap.end() ) { - static uint32_t counter; - if ( counter++ < 1 ) - fprintf(stderr,"%s FindBucketIndex violation: from val %f\n",ASSETCHAINS_SYMBOL,val); + //static uint32_t counter; + //if ( counter++ < 1 ) + // fprintf(stderr,"%s FindBucketIndex violation: from val %f\n",ASSETCHAINS_SYMBOL,val); } return it->second; }