Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 10aaf04

Browse files
laanwjcodablock
authored andcommitted
Merge bitcoin#8505: Trivial: Fix typos in various files
1aacfc2 various typos (leijurv)
1 parent 6b8160b commit 10aaf04

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1464,7 +1464,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
14641464
// cache size calculations
14651465
int64_t nTotalCache = (GetArg("-dbcache", nDefaultDbCache) << 20);
14661466
nTotalCache = std::max(nTotalCache, nMinDbCache << 20); // total cache cannot be less than nMinDbCache
1467-
nTotalCache = std::min(nTotalCache, nMaxDbCache << 20); // total cache cannot be greated than nMaxDbcache
1467+
nTotalCache = std::min(nTotalCache, nMaxDbCache << 20); // total cache cannot be greater than nMaxDbcache
14681468
int64_t nBlockTreeDBCache = nTotalCache / 8;
14691469
nBlockTreeDBCache = std::min(nBlockTreeDBCache, (GetBoolArg("-txindex", DEFAULT_TXINDEX) ? nMaxBlockDBAndTxIndexCache : nMaxBlockDBCache) << 20);
14701470
nTotalCache -= nBlockTreeDBCache;

src/rpc/mining.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ UniValue getblocktemplate(const UniValue& params, bool fHelp)
675675

676676
if (nMaxVersionPreVB >= 2) {
677677
// If VB is supported by the client, nMaxVersionPreVB is -1, so we won't get here
678-
// Because BIP 34 changed how the generation transaction is serialised, we can only use version/force back to v2 blocks
678+
// Because BIP 34 changed how the generation transaction is serialized, we can only use version/force back to v2 blocks
679679
// This is safe to do [otherwise-]unconditionally only because we are throwing an exception above if a non-force deployment gets activated
680680
// Note that this can probably also be removed entirely after the first BIP9 non-force deployment (ie, probably segwit) gets activated
681681
aMutable.push_back("version/force");

src/validation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ bool AcceptToMemoryPoolWorker(CTxMemPool& pool, CValidationState& state, const C
646646
// nSequence >= maxint-1 on all inputs.
647647
//
648648
// maxint-1 is picked to still allow use of nLockTime by
649-
// non-replacable transactions. All inputs rather than just one
649+
// non-replaceable transactions. All inputs rather than just one
650650
// is for the sake of multi-party protocols, where we don't
651651
// want a single party to be able to disable replacement.
652652
//

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4410,7 +4410,7 @@ void CWallet::GetKeyBirthTimes(std::map<CKeyID, int64_t> &mapKeyBirth) const {
44104410
mapKeyBirth[it->first] = it->second.nCreateTime;
44114411

44124412
// map in which we'll infer heights of other keys
4413-
CBlockIndex *pindexMax = chainActive[std::max(0, chainActive.Height() - 144)]; // the tip can be reorganised; use a 144-block safety margin
4413+
CBlockIndex *pindexMax = chainActive[std::max(0, chainActive.Height() - 144)]; // the tip can be reorganized; use a 144-block safety margin
44144414
std::map<CKeyID, CBlockIndex*> mapKeyFirstBlock;
44154415
std::set<CKeyID> setKeys;
44164416
GetKeys(setKeys);

0 commit comments

Comments
 (0)