aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2016-08-17 12:50:28 +0200
committerWladimir J. van der Laan <[email protected]>2016-08-17 12:51:16 +0200
commite753eaeb343c0e52bbe2e7c43b16c6a2e6bc3b61 (patch)
tree20bf15b38d659fce3027d37d9678009942e13c6c /src/init.cpp
parentMerge #8513: Fix a type error that would not compile on OSX. (diff)
parentvarious typos (diff)
downloaddiscoin-e753eaeb343c0e52bbe2e7c43b16c6a2e6bc3b61.tar.xz
discoin-e753eaeb343c0e52bbe2e7c43b16c6a2e6bc3b61.zip
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 5ef8af8b3..ce5f4b3a8 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;