[#CoinsViewOptions-simulate_crash_ratio]
= xref:CoinsViewOptions.adoc[CoinsViewOptions]::simulate&lowbar;crash&lowbar;ratio
:relfileprefix: ../
:mrdocs:

If non&hyphen;zero, randomly exit when the database is flushed with (1&sol;ratio) probability&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int simulate&lowbar;crash&lowbar;ratio = &lcub;0&rcub;;
----


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