Fixes #2793. Backport commit f33afd3 to increase dbcache default.

This commit is contained in:
Simon
2018-01-15 23:17:34 -08:00
parent 0ad9255d2a
commit 5befbed4bc
+2 -2
View File
@@ -20,8 +20,8 @@ struct CDiskTxPos;
class uint256;
//! -dbcache default (MiB)
static const int64_t nDefaultDbCache = 100;
//! max. -dbcache in (MiB)
static const int64_t nDefaultDbCache = 450;
//! max. -dbcache (MiB)
static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 16384 : 1024;
//! min. -dbcache in (MiB)
static const int64_t nMinDbCache = 4;