[#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(0x7f9513c484a8), requires_capability(0x7f9502de9c48), requires_capability(0x7f950b21c418), requires_capability(0x7f9514bf6408)]] 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]#