[#Chainstate-InvalidateCoinsDBOnDisk] = xref:Chainstate.adoc[Chainstate]::InvalidateCoinsDBOnDisk :relfileprefix: ../ :mrdocs: In case of an invalid snapshot, rename the coins leveldb directory so that it can be examined for issue diagnosis. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard, requires_capability(0x7ff37b9039b8), requires_capability(0x7ff375c4a5c8), requires_capability(0x7ff37e055438), requires_capability(0x7ff375936398)]] xref:util/Result.adoc[util::Result<void>] InvalidateCoinsDBOnDisk(); ---- == Return Value A successful result, or an error if the directory could not be renamed. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#