Look up a block index entry by hash.

Synopses

Declared in <node/blockstorage.h>

Look up a block index entry by hash.

Look up a block index entry by hash.

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