Reads the block the passed in block tree entry points to from disk and returns it.
Declared in <kernel/bitcoinkernel.h>
[[nodiscard, __nonnull__]]
btck_Block*
btck_block_read(
btck_ChainstateManager const* chainstate_manager,
btck_BlockTreeEntry const* block_tree_entry);
| Name | Description |
|---|---|
| chainstate_manager [in] | Non-null. |
| block_tree_entry [in] | Non-null. |