Bitcoin Core 28.99.0
P2P Digital Currency
Namespaces | Functions | Variables
caches.cpp File Reference
#include <node/caches.h>
#include <common/args.h>
#include <index/txindex.h>
#include <kernel/caches.h>
#include <logging.h>
#include <util/byte_units.h>
#include <algorithm>
#include <string>
Include dependency graph for caches.cpp:

Go to the source code of this file.

Namespaces

namespace  node
 

Functions

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

Variables

static constexpr size_t MAX_TX_INDEX_CACHE {1024_MiB}
 Max memory allocated to tx index DB specific cache in bytes. More...
 
static constexpr size_t MAX_FILTER_INDEX_CACHE {1024_MiB}
 Max memory allocated to all block filter index caches combined in bytes. More...
 

Variable Documentation

◆ MAX_FILTER_INDEX_CACHE

constexpr size_t MAX_FILTER_INDEX_CACHE {1024_MiB}
staticconstexpr

Max memory allocated to all block filter index caches combined in bytes.

Definition at line 21 of file caches.cpp.

◆ MAX_TX_INDEX_CACHE

constexpr size_t MAX_TX_INDEX_CACHE {1024_MiB}
staticconstexpr

Max memory allocated to tx index DB specific cache in bytes.

Definition at line 19 of file caches.cpp.