aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2015-05-04 01:56:42 +0200
committerPieter Wuille <[email protected]>2015-05-11 17:58:14 -0700
commitb3ed4236beb7f68e1720ceb3da15e0c3682ef629 (patch)
treec5a0bf72e529ebc73ca8c665b2aefa6967af4fbf /src/txdb.h
parentUse accurate memory for flushing decisions (diff)
downloaddiscoin-b3ed4236beb7f68e1720ceb3da15e0c3682ef629.tar.xz
discoin-b3ed4236beb7f68e1720ceb3da15e0c3682ef629.zip
Cache tweak and logging improvements
Diffstat (limited to 'src/txdb.h')
-rw-r--r--src/txdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txdb.h b/src/txdb.h
index 86e1c5d83..bef5dc9fd 100644
--- a/src/txdb.h
+++ b/src/txdb.h
@@ -22,7 +22,7 @@ class uint256;
//! -dbcache default (MiB)
static const int64_t nDefaultDbCache = 100;
//! max. -dbcache in (MiB)
-static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 4096 : 1024;
+static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 16384 : 1024;
//! min. -dbcache in (MiB)
static const int64_t nMinDbCache = 4;