Browse Source

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

pull/4/head
Simon 7 years ago
parent
commit
5befbed4bc
  1. 4
      src/txdb.h

4
src/txdb.h

@ -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;

Loading…
Cancel
Save