[#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(0x7f2e1bc18148), requires_capability(0x7f2e146b6498), requires_capability(0x7f2e298fb868), requires_capability(0x7f2e360b8fc8)]] 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]#