MCPcopy Create free account
hub / github.com/ElementsProject/elements / LoadMempool

Method LoadMempool

src/validation.cpp:4255–4262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4253}
4254
4255void CChainState::LoadMempool(const ArgsManager& args)
4256{
4257 if (!m_mempool) return;
4258 if (args.GetBoolArg("-persistmempool", DEFAULT_PERSIST_MEMPOOL)) {
4259 ::LoadMempool(*m_mempool, *this);
4260 }
4261 m_mempool->SetIsLoaded(!ShutdownRequested());
4262}
4263
4264bool CChainState::LoadChainTip()
4265{

Callers 1

ThreadImportFunction · 0.80

Calls 4

LoadMempoolFunction · 0.85
ShutdownRequestedFunction · 0.85
GetBoolArgMethod · 0.80
SetIsLoadedMethod · 0.80

Tested by

no test coverage detected