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