refactor: Drop boost::this_thread::interruption_point and boost::thread_interrupted in main thread

This commit is contained in:
Chun Kuan Lee
2018-10-14 04:24:38 +08:00
parent be992701b0
commit b7df96f456
3 changed files with 0 additions and 9 deletions

View File

@@ -3819,8 +3819,6 @@ bool CChainState::LoadBlockIndex(const Consensus::Params& consensus_params, CBlo
if (!blocktree.LoadBlockIndexGuts(consensus_params, [this](const uint256& hash) EXCLUSIVE_LOCKS_REQUIRED(cs_main) { return this->InsertBlockIndex(hash); }))
return false;
boost::this_thread::interruption_point();
// Calculate nChainWork
std::vector<std::pair<int, CBlockIndex*> > vSortedByHeight;
vSortedByHeight.reserve(mapBlockIndex.size());