![]() |
Bitcoin Core 32.99.0
P2P Digital Currency
|
#include <node/caches.h>#include <common/args.h>#include <common/system.h>#include <index/txindex.h>#include <index/txospenderindex.h>#include <kernel/caches.h>#include <node/interface_ui.h>#include <tinyformat.h>#include <util/byte_units.h>#include <util/log.h>#include <util/overflow.h>#include <util/translation.h>#include <algorithm>#include <cstdint>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | node |
Functions | |
| uint64_t | node::GetDefaultDBCache () |
| uint64_t | node::CalculateDbCacheBytes (const ArgsManager &args) |
| CacheSizes | node::CalculateCacheSizes (const ArgsManager &args, size_t n_indexes) |
| void | node::LogOversizedDbCache (const ArgsManager &args) noexcept |
Variables | |
| static constexpr uint64_t | MAX_TX_INDEX_CACHE {1_GiB} |
| Max memory allocated to tx index DB specific cache in bytes. | |
| static constexpr uint64_t | MAX_FILTER_INDEX_CACHE {1_GiB} |
| Max memory allocated to all block filter index caches combined in bytes. | |
| static constexpr uint64_t | MAX_TXOSPENDER_INDEX_CACHE {1_GiB} |
| Max memory allocated to tx spenderindex DB specific cache in bytes. | |
| static constexpr uint64_t | HIGH_DEFAULT_DBCACHE {1_GiB} |
| Larger default dbcache on 64-bit systems with enough RAM. | |
| static constexpr uint64_t | HIGH_DEFAULT_DBCACHE_MIN_TOTAL_RAM {4_GiB} |
| Minimum detected RAM required for HIGH_DEFAULT_DBCACHE. | |
Larger default dbcache on 64-bit systems with enough RAM.
Definition at line 32 of file caches.cpp.
Minimum detected RAM required for HIGH_DEFAULT_DBCACHE.
Definition at line 34 of file caches.cpp.
Max memory allocated to all block filter index caches combined in bytes.
Definition at line 28 of file caches.cpp.
Max memory allocated to tx index DB specific cache in bytes.
Definition at line 26 of file caches.cpp.
Max memory allocated to tx spenderindex DB specific cache in bytes.
Definition at line 30 of file caches.cpp.