Create a new block index entry for a given block hash

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7fb95f04ccf8), requires_capability(0x7fb969da6ab8), requires_capability(0x7fb96c563508), requires_capability(0x7fb9857a05c8), requires_capability(0x7fb96cb95ed8), requires_capability(0x7fb95a5b9428)]]
CBlockIndex*
InsertBlockIndex(uint256 const& hash);

Return Value

The new or existing block index entry for hash.

Parameters

Name

Description

hash

The block hash to insert.

Created with MrDocs