[#Chainstate-ForceFlushStateToDisk]
= xref:Chainstate.adoc[Chainstate]::ForceFlushStateToDisk
:relfileprefix: ../
:mrdocs:

Flush all changes to disk&period;

== Synopsis

Declared in `&lt;validation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
ForceFlushStateToDisk(bool wipe&lowbar;cache = true);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *wipe&lowbar;cache*
| Whether to drop the in&hyphen;memory coins cache after flushing&period;
|===


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