5#ifndef BITCOIN_NODE_CACHES_H
6#define BITCOIN_NODE_CACHES_H
static constexpr uint64_t DEFAULT_KERNEL_CACHE
Suggested default amount of cache reserved for the kernel (bytes)
CacheSizes CalculateCacheSizes(const ArgsManager &args, size_t n_indexes)
void LogOversizedDbCache(const ArgsManager &args) noexcept
constexpr bool ShouldWarnOversizedDbCache(uint64_t dbcache, uint64_t total_ram) noexcept
uint64_t GetDefaultDBCache()
static constexpr uint64_t DBCACHE_WARNING_RESERVED_RAM
Reserved non-dbcache memory usage.
kernel::CacheSizes kernel
uint64_t txospender_index