ChainstateManager::GetHistoricalBlockRange

Get range of historical blocks to download.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fb95fbcbae8), requires_capability(0x7fb96adf4ab8), requires_capability(0x7fb96eb27c38), requires_capability(0x7fb9871693c8)]]
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.