[#ChainstateManager-GetHistoricalBlockRange] = xref:ChainstateManager.adoc[ChainstateManager]::GetHistoricalBlockRange :relfileprefix: ../ :mrdocs: Get range of historical blocks to download. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[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. [.small]#Created with https://www.mrdocs.com[MrDocs]#