GetCoinsCacheSizeState overloads

Synopses

Declared in <validation.h>

Dictates whether we need to flush the cache to disk or not.

[[requires_capability(0x7fd753c9c538), requires_capability(0x7fd74db5e008), requires_capability(0x7fd74ab60028), requires_capability(0x7fd73ea7aee8)]]
CoinsCacheSizeState
GetCoinsCacheSizeState();

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

[[requires_capability(0x7fd753c9c608), requires_capability(0x7fd74db5e0d8), requires_capability(0x7fd74ab600f8), requires_capability(0x7fd73ea7afb8)]]
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.

  • 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