This commit is contained in:
jl777
2018-04-17 15:03:20 +03:00
parent 103fde3508
commit 6a0c98266c
2 changed files with 5 additions and 5 deletions

View File

@@ -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