We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4382fb commit 04c6ba5Copy full SHA for 04c6ba5
src/txdb.h
@@ -24,7 +24,7 @@ class uint256;
24
//! -dbcache default (MiB)
25
static const int64_t nDefaultDbCache = 300;
26
//! max. -dbcache (MiB)
27
-static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 16384 : 1024;
+static constexpr int64_t nMaxDbCache = sizeof(void*) > 4 ? 1048576 : 1024;
28
//! min. -dbcache (MiB)
29
static const int64_t nMinDbCache = 4;
30
//! Max memory allocated to block tree DB specific cache, if no -txindex (MiB)
0 commit comments