Non‐owning view over a btck_BlockTreeEntry, a node in the block index tree.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

class BlockTreeEntry
    : public View<btck_BlockTreeEntry>

Base Classes

Name

Description

View<btck_BlockTreeEntry>

Non‐owning view over a const C handle of type CType.

Member Functions

Name

Description

BlockTreeEntry [constructor]

Constructs an entry view over entry.

GetAncestor

Returns the ancestor entry at a given height.

GetHash

Returns the hash of this entry's block.

GetHeader

Returns the header of this entry's block.

GetHeight

Returns the block height of this entry.

GetPrevious

Returns the previous (parent) entry, if any.

get

Returns the borrowed C handle.

operator==

Compares two entries for identity.

Protected Data Members

Name

Description

m_ptr

The borrowed C handle.

Created with MrDocs