Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
418
bool BlockManager::DeletePruneLock(const std::string& name)
419
{
420
AssertLockHeld(::cs_main);
421
return m_prune_locks.erase(name) > 0;
422
}
423
424
CBlockIndex* BlockManager::InsertBlockIndex(const uint256& hash)
425
{
Callers
2
BOOST_FIXTURE_TEST_CASE
Function · 0.80
~TemporaryPruneLock
Method · 0.80
Calls
1
erase
Method · 0.45
Tested by
1
BOOST_FIXTURE_TEST_CASE
Function · 0.64