#include <util/byte_units.h>
#include <algorithm>
#include <cstdint>
Go to the source code of this file.
|
| static constexpr int64_t | DEFAULT_KERNEL_CACHE {1024_MiB} |
| | Suggested default amount of cache reserved for the kernel (bytes)
|
| |
| static constexpr size_t | DEFAULT_DB_CACHE_BATCH {32_MiB} |
| | Default LevelDB write batch size.
|
| |
| static constexpr size_t | MAX_BLOCK_DB_CACHE {2_MiB} |
| | Max memory allocated to block tree DB specific cache (bytes)
|
| |
| static constexpr size_t | MAX_COINS_DB_CACHE {8_MiB} |
| | Max memory allocated to coin DB specific cache (bytes)
|
| |
◆ 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.