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

Options controlling how the chainstate is loaded and verified&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct ChainstateLoadOptions;
----

== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:node/ChainstateLoadOptions/check_blocks.adoc[`check&lowbar;blocks`] 
| Number of recent blocks to verify at startup&period;
| xref:node/ChainstateLoadOptions/check_level.adoc[`check&lowbar;level`] 
| Thoroughness level of the startup block checks&period;
| xref:node/ChainstateLoadOptions/coins_db_in_memory.adoc[`coins&lowbar;db&lowbar;in&lowbar;memory`] 
| Whether to keep the coins (UTXO) database in memory&period;
| xref:node/ChainstateLoadOptions/coins_error_cb.adoc[`coins&lowbar;error&lowbar;cb`] 
| Callback invoked when the coins database reports an error&period;
| xref:node/ChainstateLoadOptions/mempool.adoc[`mempool`] 
| Mempool to attach to the loaded chainstate, if any&period;
| xref:node/ChainstateLoadOptions/prune.adoc[`prune`] 
| Whether the node is running in prune mode&period;
| xref:node/ChainstateLoadOptions/require_full_verification.adoc[`require&lowbar;full&lowbar;verification`] 
| Setting require&lowbar;full&lowbar;verification to true will require all checks at check&lowbar;level (below) to succeed for loading to succeed&period; Setting it to false will skip checks if cache is not big enough to run them, so may be helpful for running with a small cache&period;
| xref:node/ChainstateLoadOptions/wipe_chainstate_db.adoc[`wipe&lowbar;chainstate&lowbar;db`] 
| Whether to wipe and rebuild the chainstate database from genesis&period;
|===



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