[#CCoinsViewCache-Flush] = xref:CCoinsViewCache.adoc[CCoinsViewCache]::Flush :relfileprefix: ../ :mrdocs: Push the modifications applied to this cache to its base and wipe local state. Failure to call this method or Sync() before destruction will cause the changes to be forgotten. If reallocate_cache is false, the cache will retain the same memory footprint after flushing and should be destroyed to deallocate. == Synopsis Declared in `<coins.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void Flush(bool reallocate_cache = true); ---- == Parameters [cols="1,4"] |=== | Name| Description | *reallocate_cache* | When false, keep the same memory footprint after flushing instead of shrinking. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#