validation: drop maximum -dbcache

Fixes #28249
This commit is contained in:
Sjors Provoost
2024-05-28 08:36:27 +02:00
parent 327f08bb0c
commit bb3b980dfd
6 changed files with 9 additions and 7 deletions

View File

@@ -25,8 +25,6 @@ class uint256;
static const int64_t nDefaultDbCache = 450;
//! -dbbatchsize default (bytes)
static const int64_t nDefaultDbBatchSize = 16 << 20;
//! max. -dbcache (MiB)
static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 16384 : 1024;
//! min. -dbcache (MiB)
static const int64_t nMinDbCache = 4;
//! Max memory allocated to block tree DB specific cache, if no -txindex (MiB)