Create a new block index entry for a given block hash

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7ff37af168d8), requires_capability(0x7ff376b838b8), requires_capability(0x7ff37ded14a8), requires_capability(0x7ff36c6166c8), requires_capability(0x7ff37c49a528), requires_capability(0x7ff39283cf28)]]
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