diff options
| author | leijurv <[email protected]> | 2016-08-13 11:21:13 -0600 |
|---|---|---|
| committer | leijurv <[email protected]> | 2016-08-14 07:57:11 -0600 |
| commit | 1aacfc2da521a8e0d718e9ac561d9b2d7916eb0b (patch) | |
| tree | 36df60d617ba18670531ac3055ea24a4ca13753c /src/init.cpp | |
| parent | Merge #8353: Trivial: tiny c++11 refactors (diff) | |
| download | discoin-1aacfc2da521a8e0d718e9ac561d9b2d7916eb0b.tar.xz discoin-1aacfc2da521a8e0d718e9ac561d9b2d7916eb0b.zip | |
various typos
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 4d9de6cfc..6af9d30cd 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1267,7 +1267,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; |