5#ifndef BITCOIN_NODE_CACHES_H
6#define BITCOIN_NODE_CACHES_H
static constexpr size_t DEFAULT_KERNEL_CACHE
Suggested default amount of cache reserved for the kernel (bytes)
constexpr bool ShouldWarnOversizedDbCache(size_t dbcache, size_t total_ram) noexcept
CacheSizes CalculateCacheSizes(const ArgsManager &args, size_t n_indexes)
void LogOversizedDbCache(const ArgsManager &args) noexcept
size_t GetDefaultDBCache()
static constexpr size_t MIN_DB_CACHE
min. -dbcache (bytes)
static constexpr size_t DEFAULT_DB_CACHE
-dbcache default (bytes)
kernel::CacheSizes kernel
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.