Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Namespaces | Functions | Variables
caches.h File Reference
#include <kernel/caches.h>
#include <util/byte_units.h>
#include <cstddef>
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  node::IndexCacheSizes
 
struct  node::CacheSizes
 

Namespaces

namespace  node
 

Functions

CacheSizes node::CalculateCacheSizes (const ArgsManager &args, size_t n_indexes)
 

Variables

static constexpr size_t MIN_DB_CACHE {4_MiB}
 min. -dbcache (bytes) More...
 
static constexpr size_t DEFAULT_DB_CACHE {DEFAULT_KERNEL_CACHE}
 -dbcache default (bytes) More...
 

Variable Documentation

◆ DEFAULT_DB_CACHE

constexpr size_t DEFAULT_DB_CACHE {DEFAULT_KERNEL_CACHE}
staticconstexpr

-dbcache default (bytes)

Definition at line 18 of file caches.h.

◆ MIN_DB_CACHE

constexpr size_t MIN_DB_CACHE {4_MiB}
staticconstexpr

min. -dbcache (bytes)

Definition at line 16 of file caches.h.