Processes and validates the provided btck_BlockHeader.
Declared in <kernel/bitcoinkernel.h>
[[nodiscard, __nonnull__]]
btck_BlockValidationState*
btck_chainstate_manager_process_block_header(
btck_ChainstateManager* chainstate_manager,
btck_BlockHeader const* header);
The btck_BlockValidationState containing validation result, or null on error.
The return value should not be discarded.
| Name | Description |
|---|---|
| chainstate_manager [in] | Non-null. |
| header [in] | Non-null btck_BlockHeader to be validated. |