node::ChainstateLoadStatus

Chainstate load status. Simple applications can just check for the success case, and treat other cases as errors. More complex applications may want to try reindexing in the generic failure case, and pass an interrupt callback and exit cleanly in the interrupted case.

Synopsis

Declared in <node/chainstate.h>

enum class ChainstateLoadStatus : int;

Members

NameDescription
SUCCESS The chainstate loaded successfully.
FAILURE Generic failure which reindexing may fix
FAILURE_FATAL Fatal error which should not prompt to reindex
FAILURE_INCOMPATIBLE_DB The on-disk database is incompatible with this build.
FAILURE_INSUFFICIENT_DBCACHE The configured database cache is too small to load the chainstate.
INTERRUPTED Loading was interrupted by a shutdown request.