[#Chainstate-GetCoinsCacheSizeState-00] = xref:Chainstate.adoc[Chainstate]::GetCoinsCacheSizeState :relfileprefix: ../ :mrdocs: Dictates whether we need to flush the cache to disk or not, using explicit limits. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1ba850d8), requires_capability(0x7f2e14564d28), requires_capability(0x7f2e373bded8), requires_capability(0x7f2e36e34b28)]] xref:CoinsCacheSizeState.adoc[CoinsCacheSizeState] GetCoinsCacheSizeState( size_t max_coins_cache_size_bytes, size_t max_mempool_size_bytes); ---- == Return Value The state of the size of the coins cache. == Parameters [cols="1,4"] |=== | Name| Description | *max_coins_cache_size_bytes* | Maximum size budget for the in‐memory coins cache. | *max_mempool_size_bytes* | Maximum size budget for the mempool. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#