Return true if the passed in chain contains the block tree entry.
Declared in <kernel/bitcoinkernel.h>
[[__nonnull__]]
int
btck_chain_contains(
btck_Chain const* chain,
btck_BlockTreeEntry const* block_tree_entry);
1 if the block_tree_entry is in the chain, 0 otherwise.
| Name | Description |
|---|---|
| chain [in] | Non-null. |
| block_tree_entry [in] | Non-null. |