In case of an invalid snapshot, rename the coins leveldb directory so that it can be examined for issue diagnosis.
Declared in <validation.h>
[[nodiscard, requires_capability(0x7ff37b9039b8), requires_capability(0x7ff375c4a5c8), requires_capability(0x7ff37e055438), requires_capability(0x7ff375936398)]]
util::Result<void>
InvalidateCoinsDBOnDisk();
A successful result, or an error if the directory could not be renamed.
The return value should not be discarded.