diff options
| author | Pieter Wuille <[email protected]> | 2017-07-15 10:58:23 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2017-07-15 11:01:52 -0700 |
| commit | 505955052e60e0681865f3064e005ca0d3aa90bf (patch) | |
| tree | f57312242388d35e3223457508214fcf4ea52d4e /src | |
| parent | Merge #10769: [Qt] replace fee slider with a Dropdown, extend conf. targets (diff) | |
| parent | Fix typos (diff) | |
| download | discoin-505955052e60e0681865f3064e005ca0d3aa90bf.tar.xz discoin-505955052e60e0681865f3064e005ca0d3aa90bf.zip | |
Merge #10833: Fix typos
0189d8ed1 Fix typos (practicalswift)
Tree-SHA512: bac96ab13964e7579c93d63fc7550eb091c316767cc33f2a52c18cd786537650668799603414d418680a5e04516abf1e304b10d5f4ad48a5dcba24b3f09a0387
Diffstat (limited to 'src')
| -rw-r--r-- | src/blockencodings.cpp | 2 | ||||
| -rw-r--r-- | src/consensus/consensus.h | 2 | ||||
| -rw-r--r-- | src/policy/fees.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/blockencodings.cpp b/src/blockencodings.cpp index 7adab586e..6f27b7b9d 100644 --- a/src/blockencodings.cpp +++ b/src/blockencodings.cpp @@ -48,7 +48,7 @@ uint64_t CBlockHeaderAndShortTxIDs::GetShortID(const uint256& txhash) const { ReadStatus PartiallyDownloadedBlock::InitData(const CBlockHeaderAndShortTxIDs& cmpctblock, const std::vector<std::pair<uint256, CTransactionRef>>& extra_txn) { if (cmpctblock.header.IsNull() || (cmpctblock.shorttxids.empty() && cmpctblock.prefilledtxn.empty())) return READ_STATUS_INVALID; - if (cmpctblock.shorttxids.size() + cmpctblock.prefilledtxn.size() > MAX_BLOCK_WEIGHT / MIN_SERIALIZEABLE_TRANSACTION_WEIGHT) + if (cmpctblock.shorttxids.size() + cmpctblock.prefilledtxn.size() > MAX_BLOCK_WEIGHT / MIN_SERIALIZABLE_TRANSACTION_WEIGHT) return READ_STATUS_INVALID; assert(header.IsNull() && txn_available.empty()); diff --git a/src/consensus/consensus.h b/src/consensus/consensus.h index a1bb99a80..ddd4ee9fa 100644 --- a/src/consensus/consensus.h +++ b/src/consensus/consensus.h @@ -21,7 +21,7 @@ static const int COINBASE_MATURITY = 100; static const int WITNESS_SCALE_FACTOR = 4; static const size_t MIN_TRANSACTION_WEIGHT = WITNESS_SCALE_FACTOR * 60; // 60 is the lower bound for the size of a valid serialized CTransaction -static const size_t MIN_SERIALIZEABLE_TRANSACTION_WEIGHT = WITNESS_SCALE_FACTOR * 10; // 10 is the lower bound for the size of a serialized CTransaction +static const size_t MIN_SERIALIZABLE_TRANSACTION_WEIGHT = WITNESS_SCALE_FACTOR * 10; // 10 is the lower bound for the size of a serialized CTransaction /** Flags for nSequence and nLockTime locks */ enum { diff --git a/src/policy/fees.cpp b/src/policy/fees.cpp index 03fe11a0d..b0a6a2e3d 100644 --- a/src/policy/fees.cpp +++ b/src/policy/fees.cpp @@ -698,7 +698,7 @@ CFeeRate CBlockPolicyEstimator::estimateRawFee(int confTarget, double successThr break; } default: { - throw std::out_of_range("CBlockPoicyEstimator::estimateRawFee unknown FeeEstimateHorizon"); + throw std::out_of_range("CBlockPolicyEstimator::estimateRawFee unknown FeeEstimateHorizon"); } } @@ -730,7 +730,7 @@ unsigned int CBlockPolicyEstimator::HighestTargetTracked(FeeEstimateHorizon hori return longStats->GetMaxConfirms(); } default: { - throw std::out_of_range("CBlockPoicyEstimator::HighestTargetTracked unknown FeeEstimateHorizon"); + throw std::out_of_range("CBlockPolicyEstimator::HighestTargetTracked unknown FeeEstimateHorizon"); } } } |