diff options
author | Carl Dong <contact@carldong.me> | 2021-11-12 18:15:47 -0500 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-12-06 16:41:58 -0500 |
commit | 8d466a8504bfb81ce8699d650aa72ec9cc8b0a54 (patch) | |
tree | 582392dd69ad01396c4c2b47002c4f181e4bd10d /src/node/chainstate.cpp | |
parent | aad8d597890c3707ae96fdb2b9fadc270ca574dd (diff) |
Move -checkblocks LogPrintf to AppInitMain
Diffstat (limited to 'src/node/chainstate.cpp')
-rw-r--r-- | src/node/chainstate.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/node/chainstate.cpp b/src/node/chainstate.cpp index 99bf3d8e94..c795c740e4 100644 --- a/src/node/chainstate.cpp +++ b/src/node/chainstate.cpp @@ -143,11 +143,6 @@ std::optional<ChainstateLoadVerifyError> VerifyLoadedChainstate(ChainstateManage for (CChainState* chainstate : chainman.GetAll()) { if (!is_coinsview_empty(chainstate)) { - if (fHavePruned && check_blocks > MIN_BLOCKS_TO_KEEP) { - LogPrintf("Prune: pruned datadir may not have more than %d blocks; only checking available blocks\n", - MIN_BLOCKS_TO_KEEP); - } - const CBlockIndex* tip = chainstate->m_chain.Tip(); RPCNotifyBlockChange(tip); if (tip && tip->nTime > GetTime() + MAX_FUTURE_BLOCK_TIME) { |