node::BlockManager::InsertBlockIndex

Create a new block index entry for a given block hash

Synopsis

Declared in <node/blockstorage.h>

CBlockIndex*
InsertBlockIndex(uint256 const& hash);

Return Value

The new or existing block index entry for hash.

Parameters

NameDescription
hashThe block hash to insert.