btck::ChainMan::ReadBlock

Reads a full block from disk for a tree entry.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

std::optional<Block>
ReadBlock(BlockTreeEntry const& entry) const;

Return Value

The block, or std::nullopt if it could not be read.

Parameters

NameDescription
entryThe block tree entry to read.