Load the block index from the database into memory.

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7ff37af166b8), requires_capability(0x7ff376b83698), requires_capability(0x7ff37ded1288), requires_capability(0x7ff36c6164a8), requires_capability(0x7ff37c49a308), requires_capability(0x7ff39283cd08)]]
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