btck::ChainMan::GetBlockTreeEntry

Looks up a block tree entry by hash.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

std::optional<BlockTreeEntry>
GetBlockTreeEntry(BlockHash const& block_hash) const;

Return Value

The matching entry, or std::nullopt if unknown.

Parameters

NameDescription
block_hashThe hash to look up.