Chainstate::NeedsRedownload

Whether the chain state needs to be redownloaded due to lack of witness data.

Synopsis

Declared in <validation.h>

[[nodiscard]]
bool
NeedsRedownload() const;

Return Value

true if the chain state needs to be redownloaded.

NOTE

The return value should not be discarded.