kernel::CacheSizes

Byte budgets for the validation caches, derived from a single total.

Synopsis

Declared in <kernel/caches.h>

struct CacheSizes;

Member Functions

NameDescription
CacheSizes [constructor]Split a total cache budget across the block tree, coins database, and coins caches.

Data Members

NameDescription
block_tree_db Bytes reserved for the block tree database cache.
coins Bytes reserved for the in-memory coins cache.
coins_db Bytes reserved for the coins (UTXO) database cache.