node::BlockManager::LoadBlockIndexDB

Load the block index from the database into memory.

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7f95130c8e98), requires_capability(0x7f950163c188), requires_capability(0x7f95241d9178), requires_capability(0x7f951f330478), requires_capability(0x7f950b9c2438), requires_capability(0x7f95175c4b88)]]
bool
LoadBlockIndexDB(std::optional<uint256> const& snapshot_blockhash);

Return Value

True on success, false if the index could not be loaded.

Parameters

NameDescription
snapshot_blockhashBase block hash of an assumeutxo snapshot, if one is loaded.