[#btck-BlockTreeEntry] = xref:btck.adoc[btck]::BlockTreeEntry :relfileprefix: ../ :mrdocs: Non‐owning view over a `btck_BlockTreeEntry`, a node in the block index tree. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class BlockTreeEntry : public xref:btck/View-041.adoc[View<btck_BlockTreeEntry>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:btck/View-041.adoc[View<btck_BlockTreeEntry>]` | Non‐owning view over a const C handle of type `CType.` |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:btck/BlockTreeEntry/2constructor.adoc[`BlockTreeEntry`] [.small]#[constructor]# | Constructs an entry view over `entry.` | xref:btck/BlockTreeEntry/GetAncestor.adoc[`GetAncestor`] | Returns the ancestor entry at a given height. | xref:btck/BlockTreeEntry/GetHash.adoc[`GetHash`] | Returns the hash of this entry's block. | xref:btck/BlockTreeEntry/GetHeader.adoc[`GetHeader`] | Returns the header of this entry's block. | xref:btck/BlockTreeEntry/GetHeight.adoc[`GetHeight`] | Returns the block height of this entry. | xref:btck/BlockTreeEntry/GetPrevious.adoc[`GetPrevious`] | Returns the previous (parent) entry, if any. | xref:btck/BlockTreeEntry/get.adoc[`get`] | Returns the borrowed C handle. | xref:btck/BlockTreeEntry/operator_eq.adoc[`operator==`] | Compares two entries for identity. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:btck/BlockTreeEntry/m_ptr.adoc[`m_ptr`] | The borrowed C handle. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#