Load the block index from the database into memory.

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7f2e1b098e48), requires_capability(0x7f2e26d1a5a8), requires_capability(0x7f2e375e0688), requires_capability(0x7f2e33367a48), requires_capability(0x7f2e3542ea38), requires_capability(0x7f2e28a73598)]]
bool
LoadBlockIndexDB(std::optional<uint256> const& snapshot_blockhash);

Return Value

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

Parameters

Name

Description

snapshot_blockhash

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

Created with MrDocs