[#CoinsViewOverlay-Flush]
= xref:CoinsViewOverlay.adoc[CoinsViewOverlay]::Flush
:relfileprefix: ../
:mrdocs:

Warn if prefetched inputs went unconsumed, stop fetching, then flush to the base cache&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
Flush(bool reallocate&lowbar;cache = true) override;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *reallocate&lowbar;cache*
| When false, keep the same memory footprint after flushing instead of shrinking&period;
|===


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