ChainstateManager::GetHistoricalBlockRange

Get range of historical blocks to download.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fbc8fcf9c88), requires_capability(0x7fbc96d92448), requires_capability(0x7fbcaf727eb8), requires_capability(0x7fbc9e23f598)]]
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.