[#CCoinsViewCache-Sync]
= xref:CCoinsViewCache.adoc[CCoinsViewCache]::Sync
:relfileprefix: ../
:mrdocs:

Push the modifications applied to this cache to its base while retaining the contents of this cache (except for spent coins, which we erase)&period; Failure to call this method or Flush() before destruction will cause the changes to be forgotten&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
Sync();
----


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