btck::BlockTreeEntry::GetAncestor

Returns the ancestor entry at a given height.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

BlockTreeEntry
GetAncestor(int32_t height) const;

Return Value

The ancestor entry at that height.

Parameters

NameDescription
heightThe target ancestor height.