[#node-ChainstateLoadStatus] = xref:node.adoc[node]::ChainstateLoadStatus :relfileprefix: ../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum class ChainstateLoadStatus : int; ---- == Members [cols="1,4"] |=== | Name| Description | `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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#