[#btck-BlockTreeEntry-GetAncestor] = xref:btck.adoc[btck]::xref:btck/BlockTreeEntry.adoc[BlockTreeEntry]::GetAncestor :relfileprefix: ../../ :mrdocs: Returns the ancestor entry at a given height. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:btck/BlockTreeEntry.adoc[BlockTreeEntry] GetAncestor(int32_t height) const; ---- == Return Value The ancestor entry at that height. == Parameters [cols="1,4"] |=== | Name| Description | *height* | The target ancestor height. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#