MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / UpdatePruneLock

Method UpdatePruneLock

src/node/blockstorage.cpp:413–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413void BlockManager::UpdatePruneLock(const std::string& name, const PruneLockInfo& lock_info) {
414 AssertLockHeld(::cs_main);
415 m_prune_locks[name] = lock_info;
416}
417
418bool BlockManager::DeletePruneLock(const std::string& name)
419{

Callers 3

BOOST_FIXTURE_TEST_CASEFunction · 0.80
SetBestBlockIndexMethod · 0.80
TemporaryPruneLockMethod · 0.80

Calls

no outgoing calls

Tested by 1

BOOST_FIXTURE_TEST_CASEFunction · 0.64