Bitcoin ABC 0.32.4
P2P Digital Currency
Classes | Namespaces | Variables
caches.h File Reference
#include <util/byte_units.h>
#include <algorithm>
#include <cstdint>
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 int64_t DEFAULT_KERNEL_CACHE {1024_MiB}
 Suggested default amount of cache reserved for the kernel (bytes) More...
 
static constexpr size_t DEFAULT_DB_CACHE_BATCH {32_MiB}
 Default LevelDB write batch size. 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_DB_CACHE_BATCH

constexpr size_t DEFAULT_DB_CACHE_BATCH {32_MiB}
staticconstexpr

Default LevelDB write batch size.

Definition at line 16 of file caches.h.

◆ DEFAULT_KERNEL_CACHE

constexpr int64_t DEFAULT_KERNEL_CACHE {1024_MiB}
staticconstexpr

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

Definition at line 14 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 19 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 21 of file caches.h.