[#btck_block_tree_entry_get_ancestor] = btck_block_tree_entry_get_ancestor :mrdocs: Return the ancestor of a btck_BlockTreeEntry at the given height. == Synopsis Declared in `<kernel/bitcoinkernel.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[__nonnull__]] xref:btck_BlockTreeEntry-0c.adoc[btck_BlockTreeEntry] const* btck_block_tree_entry_get_ancestor( xref:btck_BlockTreeEntry-0c.adoc[btck_BlockTreeEntry] const* block_tree_entry, int32_t height); ---- == Return Value The ancestor at the given height. == Parameters [cols="1,4"] |=== | Name| Description | *block_tree_entry* [in] | Non‐null. | *height* [in] | The height of the requested ancestor. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#