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(0x7fb95fa39a58), requires_capability(0x7fb96ac609b8), requires_capability(0x7fb96e9d71d8), requires_capability(0x7fb98748c848)]]
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