aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-08-17 12:50:28 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-08-17 12:51:16 +0200
commite753eaeb343c0e52bbe2e7c43b16c6a2e6bc3b61 (patch)
tree20bf15b38d659fce3027d37d9678009942e13c6c /src/init.cpp
parent65e64441810670c4f20d6f0979dc455e6ed91ea5 (diff)
parent1aacfc2da521a8e0d718e9ac561d9b2d7916eb0b (diff)
downloadbitcoin-e753eaeb343c0e52bbe2e7c43b16c6a2e6bc3b61.tar.xz
Merge #8505: Trivial: Fix typos in various files
1aacfc2 various typos (leijurv)
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 5ef8af8b3f..ce5f4b3a88 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1270,7 +1270,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
// cache size calculations
int64_t nTotalCache = (GetArg("-dbcache", nDefaultDbCache) << 20);
nTotalCache = std::max(nTotalCache, nMinDbCache << 20); // total cache cannot be less than nMinDbCache
- nTotalCache = std::min(nTotalCache, nMaxDbCache << 20); // total cache cannot be greated than nMaxDbcache
+ nTotalCache = std::min(nTotalCache, nMaxDbCache << 20); // total cache cannot be greater than nMaxDbcache
int64_t nBlockTreeDBCache = nTotalCache / 8;
nBlockTreeDBCache = std::min(nBlockTreeDBCache, (GetBoolArg("-txindex", DEFAULT_TXINDEX) ? nMaxBlockDBAndTxIndexCache : nMaxBlockDBCache) << 20);
nTotalCache -= nBlockTreeDBCache;