ChainstateManager::GetHistoricalBlockRange

Get range of historical blocks to download.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fd753e2f728), requires_capability(0x7fd74dcf0dd8), requires_capability(0x7fd74a14e9d8), requires_capability(0x7fd75e70fc68)]]
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.