Get the btck_BlockHeader from the block.
Declared in <kernel/bitcoinkernel.h>
[[nodiscard, __nonnull__]]
btck_BlockHeader*
btck_block_get_header(btck_Block const* block);
Creates a new btck_BlockHeader object from the block's header data.
| Name | Description |
|---|---|
| block [in] | Non-null btck_Block |