Cache tweak and logging improvements

This commit is contained in:
Pieter Wuille
2015-05-04 01:56:42 +02:00
parent fc684ad8af
commit b3ed4236be
3 changed files with 13 additions and 11 deletions

View File

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