[#Chainstate-NeedsRedownload]
= xref:Chainstate.adoc[Chainstate]::NeedsRedownload
:relfileprefix: ../
:mrdocs:

Whether the chain state needs to be redownloaded due to lack of witness data&period;

== Synopsis

Declared in `&lt;validation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard, requires&lowbar;capability(0x7f9513ab4f88), requires&lowbar;capability(0x7f9502c97ff8), requires&lowbar;capability(0x7f9525449d28), requires&lowbar;capability(0x7f9517400008)&rsqb;&rsqb;
bool
NeedsRedownload() const;
----

== Return Value

true if the chain state needs to be redownloaded&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====

[.small]#Created with https://www.mrdocs.com[MrDocs]#
