MCPcopy Create free account
hub / github.com/Bitcoin-ABC/bitcoin-abc / LoadMempool

Method LoadMempool

src/validation.cpp:5209–5216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5207}
5208
5209void Chainstate::LoadMempool(const fs::path &load_path,
5210 FopenFn mockable_fopen_function) {
5211 if (!m_mempool) {
5212 return;
5213 }
5214 ::LoadMempool(*m_mempool, load_path, *this, mockable_fopen_function);
5215 m_mempool->SetLoadTried(!m_chainman.m_interrupt);
5216}
5217
5218bool Chainstate::LoadChainTip() {
5219 AssertLockHeld(cs_main);

Callers 2

AppInitMainFunction · 0.80
FUZZ_TARGET_INITFunction · 0.80

Calls 2

LoadMempoolFunction · 0.85
SetLoadTriedMethod · 0.80

Tested by 1

FUZZ_TARGET_INITFunction · 0.64