node::BlockManager::InsertBlockIndex

Create a new block index entry for a given block hash

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7fbc8f17ae48), requires_capability(0x7fbca3f04378), requires_capability(0x7fbcace165c8), requires_capability(0x7fbca6c58238), requires_capability(0x7fbcad35f9d8), requires_capability(0x7fbc9fba1798)]]
CBlockIndex*
InsertBlockIndex(uint256 const& hash);

Return Value

The new or existing block index entry for hash.

Parameters

NameDescription
hashThe block hash to insert.