[#btck-BlockTreeEntry]
= xref:btck.adoc[btck]::BlockTreeEntry
:relfileprefix: ../
:mrdocs:

Non&hyphen;owning view over a `btck&lowbar;BlockTreeEntry`, a node in the block index tree&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class BlockTreeEntry
    : public xref:btck/View-041.adoc[View&lt;btck&lowbar;BlockTreeEntry&gt;]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:btck/View-041.adoc[View&lt;btck&lowbar;BlockTreeEntry&gt;]`
| Non&hyphen;owning view over a const C handle of type `CType&period;`
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btck/BlockTreeEntry/2constructor.adoc[`BlockTreeEntry`]         [.small]#[constructor]#
| Constructs an entry view over `entry&period;`
| xref:btck/BlockTreeEntry/GetAncestor.adoc[`GetAncestor`] 
| Returns the ancestor entry at a given height&period;
| xref:btck/BlockTreeEntry/GetHash.adoc[`GetHash`] 
| Returns the hash of this entry&apos;s block&period;
| xref:btck/BlockTreeEntry/GetHeader.adoc[`GetHeader`] 
| Returns the header of this entry&apos;s block&period;
| xref:btck/BlockTreeEntry/GetHeight.adoc[`GetHeight`] 
| Returns the block height of this entry&period;
| xref:btck/BlockTreeEntry/GetPrevious.adoc[`GetPrevious`] 
| Returns the previous (parent) entry, if any&period;
| xref:btck/BlockTreeEntry/get.adoc[`get`] 
| Returns the borrowed C handle&period;
| xref:btck/BlockTreeEntry/operator_eq.adoc[`operator&equals;&equals;`] 
| Compares two entries for identity&period;
|===


== Protected Data Members

[cols="1,4"]
|===
| Name| Description
| xref:btck/BlockTreeEntry/m_ptr.adoc[`m&lowbar;ptr`] 
| The borrowed C handle&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
