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

Synopsis

Declared in <kernel/caches.h>

struct CacheSizes;

Member Functions

Name

Description

CacheSizes [constructor]

Split a total cache budget across the block tree, coins database, and coins caches.

Data Members

Name

Description

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.

Created with MrDocs