[#Chainstate-ResizeCoinsCaches] = xref:Chainstate.adoc[Chainstate]::ResizeCoinsCaches :relfileprefix: ../ :mrdocs: Resize the CoinsViews caches dynamically and flush state to disk. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1ba84188), requires_capability(0x7f2e14563dd8), requires_capability(0x7f2e373bcf88), requires_capability(0x7f2e36e33bd8)]] bool ResizeCoinsCaches( size_t coinstip_size, size_t coinsdb_size); ---- == Return Value true unless an error occurred during the flush. == Parameters [cols="1,4"] |=== | Name| Description | *coinstip_size* | New size budget for the in‐memory coins cache. | *coinsdb_size* | New size budget for the on‐disk coins database cache. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#