btck::BlockTreeEntry::GetPrevious

Returns the previous (parent) entry, if any.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

std::optional<BlockTreeEntry>
GetPrevious() const;

Return Value

The parent entry, or std::nullopt at the genesis block.