Get range of historical blocks to download.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7ff37ba95c38), requires_capability(0x7ff375ddc5c8), requires_capability(0x7ff37e1a5e98), requires_capability(0x7ff375a97d08)]]
std::optional<std::pair<CBlockIndex const*, CBlockIndex const*>>
GetHistoricalBlockRange() const;

Return Value

The [first, last]range of historical blocks to download, or std::nullopt if none.

Created with MrDocs