Dictates whether we need to flush the cache to disk or not, using explicit limits.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fb95fa38dc8), requires_capability(0x7fb96ac5fd28), requires_capability(0x7fb96e9d6548), requires_capability(0x7fb98748bbb8)]]
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

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.

Created with MrDocs