btck::ChainView::GetByHeight

Returns the chain entry at a given height.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

BlockTreeEntry
GetByHeight(int32_t height) const;

Return Value

The block tree entry at that height.

Parameters

NameDescription
heightThe target height.