Retrieve a block tree entry by its block hash.
Declared in <kernel/bitcoinkernel.h>
[[__nonnull__]]
btck_BlockTreeEntry const*
btck_chainstate_manager_get_block_tree_entry_by_hash(
btck_ChainstateManager const* chainstate_manager,
btck_BlockHash const* block_hash);
The block tree entry of the block with the passed in hash, or null if the block hash is not found.
| Name | Description |
|---|---|
| chainstate_manager [in] | Non-null. |
| block_hash [in] | Non-null. |