Dictates whether we need to flush the cache to disk or not, using explicit limits.
Declared in <validation.h>
[[requires_capability(0x7ff37b902d28), requires_capability(0x7ff375c49938), requires_capability(0x7ff37e0547a8), requires_capability(0x7ff375935708)]]
CoinsCacheSizeState
GetCoinsCacheSizeState(
size_t max_coins_cache_size_bytes,
size_t max_mempool_size_bytes);
The state of the size of the coins cache.
| 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. |