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

Method DeletePruneLock

src/node/blockstorage.cpp:418–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416}
417
418bool BlockManager::DeletePruneLock(const std::string& name)
419{
420 AssertLockHeld(::cs_main);
421 return m_prune_locks.erase(name) > 0;
422}
423
424CBlockIndex* BlockManager::InsertBlockIndex(const uint256& hash)
425{

Callers 2

BOOST_FIXTURE_TEST_CASEFunction · 0.80
~TemporaryPruneLockMethod · 0.80

Calls 1

eraseMethod · 0.45

Tested by 1

BOOST_FIXTURE_TEST_CASEFunction · 0.64