Look up a block index entry by hash.

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7fbc8f17b028), requires_capability(0x7fbca3f04558), requires_capability(0x7fbcace167a8), requires_capability(0x7fbca6c58418), requires_capability(0x7fbcad35fbb8), requires_capability(0x7fbc9fba1978)]]
CBlockIndex const*
LookupBlockIndex(uint256 const& hash) const;

Return Value

The block index entry, or nullptr if the hash is unknown.

Parameters

Name

Description

hash

The block hash to look up.

Created with MrDocs