[#node-ChainstateLoadStatus]
= xref:node.adoc[node]::ChainstateLoadStatus
:relfileprefix: ../
:mrdocs:

Chainstate load status&period; Simple applications can just check for the success case, and treat other cases as errors&period; 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&period;

== Synopsis

Declared in `&lt;node&sol;chainstate&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum class ChainstateLoadStatus : int;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `SUCCESS` 
| The chainstate loaded successfully&period;
| `FAILURE` 
| Generic failure which reindexing may fix
| `FAILURE&lowbar;FATAL` 
| Fatal error which should not prompt to reindex
| `FAILURE&lowbar;INCOMPATIBLE&lowbar;DB` 
| The on&hyphen;disk database is incompatible with this build&period;
| `FAILURE&lowbar;INSUFFICIENT&lowbar;DBCACHE` 
| The configured database cache is too small to load the chainstate&period;
| `INTERRUPTED` 
| Loading was interrupted by a shutdown request&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
