[#Chainstate-NeedsRedownload] = xref:Chainstate.adoc[Chainstate]::NeedsRedownload :relfileprefix: ../ :mrdocs: Whether the chain state needs to be redownloaded due to lack of witness data. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard, requires_capability(0x7fb95fa388e8), requires_capability(0x7fb96ac5f848), requires_capability(0x7fb96e9d6068), requires_capability(0x7fb98748b6d8)]] bool NeedsRedownload() const; ---- == Return Value true if the chain state needs to be redownloaded. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#