node::BlockManager::InsertBlockIndex

Create a new block index entry for a given block hash

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7fd7532b04f8), requires_capability(0x7fd74e9c7448), requires_capability(0x7fd75a26b198), requires_capability(0x7fd74f16e618), requires_capability(0x7fd74a00dcb8), requires_capability(0x7fd7532655c8)]]
CBlockIndex*
InsertBlockIndex(uint256 const& hash);

Return Value

The new or existing block index entry for hash.

Parameters

NameDescription
hashThe block hash to insert.