Load the block index from the database into memory.

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7fd7532b02d8), requires_capability(0x7fd74e9c7228), requires_capability(0x7fd75a26af78), requires_capability(0x7fd74f16e3f8), requires_capability(0x7fd74a00da98), requires_capability(0x7fd7532653a8)]]
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