[#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). Failure to call this method or Flush() before destruction will cause the changes to be forgotten. == Synopsis Declared in `<coins.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void Sync(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#