Processes and validates the provided btck_BlockHeader.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[nodiscard, __nonnull__]]
btck_BlockValidationState*
btck_chainstate_manager_process_block_header(
    btck_ChainstateManager* chainstate_manager,
    btck_BlockHeader const* header);

Return Value

The btck_BlockValidationState containing validation result, or null on error.

Note

The return value should not be discarded.

Parameters

Name

Description

chainstate_manager [in]

Non‐null.

header [in]

Non‐null btck_BlockHeader to be validated.

Created with MrDocs