Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Namespaces | Variables
caches.h File Reference
#include <util/byte_units.h>
#include <algorithm>
Include dependency graph for caches.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kernel::CacheSizes
 

Namespaces

namespace  kernel
 

Variables

static constexpr size_t DEFAULT_KERNEL_CACHE {450_MiB}
 Suggested default amount of cache reserved for the kernel (bytes) More...
 
static constexpr size_t MAX_BLOCK_DB_CACHE {2_MiB}
 Max memory allocated to block tree DB specific cache (bytes) More...
 
static constexpr size_t MAX_COINS_DB_CACHE {8_MiB}
 Max memory allocated to coin DB specific cache (bytes) More...
 

Variable Documentation

◆ DEFAULT_KERNEL_CACHE

constexpr size_t DEFAULT_KERNEL_CACHE {450_MiB}
staticconstexpr

Suggested default amount of cache reserved for the kernel (bytes)

Definition at line 13 of file caches.h.

◆ MAX_BLOCK_DB_CACHE

constexpr size_t MAX_BLOCK_DB_CACHE {2_MiB}
staticconstexpr

Max memory allocated to block tree DB specific cache (bytes)

Definition at line 15 of file caches.h.

◆ MAX_COINS_DB_CACHE

constexpr size_t MAX_COINS_DB_CACHE {8_MiB}
staticconstexpr

Max memory allocated to coin DB specific cache (bytes)

Definition at line 17 of file caches.h.