[#btck-ChainstateManagerOptions-SetWipeDbs]
= xref:btck.adoc[btck]::xref:btck/ChainstateManagerOptions.adoc[ChainstateManagerOptions]::SetWipeDbs
:relfileprefix: ../../
:mrdocs:

Selects which databases to wipe on startup&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
SetWipeDbs(
    bool wipe&lowbar;block&lowbar;tree,
    bool wipe&lowbar;chainstate);
----

== Return Value

True on success&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *wipe&lowbar;block&lowbar;tree*
| Whether to wipe the block tree database&period;
| *wipe&lowbar;chainstate*
| Whether to wipe the chainstate database&period;
|===


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