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>

[[nodiscard, requires_capability(0x7fbc8fb679d8), requires_capability(0x7fbc96c00048), requires_capability(0x7fbcaf5d7458), requires_capability(0x7fbc9e0ddc28)]]
util::Result<void>
InvalidateCoinsDBOnDisk();

Return Value

A successful result, or an error if the directory could not be renamed.

Note

The return value should not be discarded.

Created with MrDocs