[#btck_chain_contains] = btck_chain_contains :mrdocs: Return true if the passed in chain contains the block tree entry. == Synopsis Declared in `<kernel/bitcoinkernel.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[__nonnull__]] int btck_chain_contains( xref:btck_Chain-09.adoc[btck_Chain] const* chain, xref:btck_BlockTreeEntry-0c.adoc[btck_BlockTreeEntry] const* block_tree_entry); ---- == Return Value 1 if the block_tree_entry is in the chain, 0 otherwise. == Parameters [cols="1,4"] |=== | Name| Description | *chain* [in] | Non‐null. | *block_tree_entry* [in] | Non‐null. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#