Skip to content

Commit 0a5a6b9

Browse files
committed
Fixed multiple typos
A few "a->an" and "an->a". "Shows, if the supplied default SOCKS5 proxy" -> "Shows if the supplied default SOCKS5 proxy". Change made on 3 occurrences. "without fully understanding the ramification of a command" -> "without fully understanding the ramifications of a command". Removed duplicate words such as "the the".
1 parent c38f540 commit 0a5a6b9

33 files changed

+60
-60
lines changed

contrib/rpm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,5 +181,5 @@ knows what they are getting when installing the GUI package.
181181

182182
As far as minor differences, I generally prefer to assign the file permissions
183183
in the `%files` portion of an RPM spec file rather than specifying the
184-
permissions of a file during `%install` and other minor things like that that
184+
permissions of a file during `%install` and other minor things like that
185185
are largely just cosmetic.

contrib/rpm/bitcoin.if

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ interface(`bitcoin_manage_lib_dirs',`
121121
########################################
122122
## <summary>
123123
## All of the rules required to administrate
124-
## an bitcoin environment
124+
## a bitcoin environment
125125
## </summary>
126126
## <param name="domain">
127127
## <summary>

doc/developer-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ General C++
287287

288288
- Assertions should not have side-effects
289289

290-
- *Rationale*: Even though the source code is set to to refuse to compile
290+
- *Rationale*: Even though the source code is set to refuse to compile
291291
with assertions disabled, having side-effects in assertions is unexpected and
292292
makes the code harder to understand
293293

src/chain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ arith_uint256 GetBlockProof(const CBlockIndex& block)
126126
if (fNegative || fOverflow || bnTarget == 0)
127127
return 0;
128128
// We need to compute 2**256 / (bnTarget+1), but we can't represent 2**256
129-
// as it's too large for a arith_uint256. However, as 2**256 is at least as large
129+
// as it's too large for an arith_uint256. However, as 2**256 is at least as large
130130
// as bnTarget+1, it is equal to ((2**256 - bnTarget - 1) / (bnTarget+1)) + 1,
131131
// or ~bnTarget / (nTarget+1) + 1.
132132
return (~bnTarget / (bnTarget + 1)) + 1;

src/cuckoocache.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,15 @@ class cache
176176
*/
177177
mutable std::vector<bool> epoch_flags;
178178

179-
/** epoch_heuristic_counter is used to determine when a epoch might be aged
179+
/** epoch_heuristic_counter is used to determine when an epoch might be aged
180180
* & an expensive scan should be done. epoch_heuristic_counter is
181181
* decremented on insert and reset to the new number of inserts which would
182182
* cause the epoch to reach epoch_size when it reaches zero.
183183
*/
184184
uint32_t epoch_heuristic_counter;
185185

186186
/** epoch_size is set to be the number of elements supposed to be in a
187-
* epoch. When the number of non-erased elements in a epoch
187+
* epoch. When the number of non-erased elements in an epoch
188188
* exceeds epoch_size, a new epoch should be started and all
189189
* current entries demoted. epoch_size is set to be 45% of size because
190190
* we want to keep load around 90%, and we support 3 epochs at once --

src/httpserver.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class HTTPRequest
8686

8787
/**
8888
* Get the request header specified by hdr, or an empty string.
89-
* Return an pair (isPresent,string).
89+
* Return a pair (isPresent,string).
9090
*/
9191
std::pair<bool, std::string> GetHeader(const std::string& hdr);
9292

@@ -125,7 +125,7 @@ class HTTPClosure
125125
virtual ~HTTPClosure() {}
126126
};
127127

128-
/** Event class. This can be used either as an cross-thread trigger or as a timer.
128+
/** Event class. This can be used either as a cross-thread trigger or as a timer.
129129
*/
130130
class HTTPEvent
131131
{

src/leveldb/db/version_set.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ class Compaction {
376376
// Each compaction reads inputs from "level_" and "level_+1"
377377
std::vector<FileMetaData*> inputs_[2]; // The two sets of inputs
378378

379-
// State used to check for number of of overlapping grandparent files
379+
// State used to check for number of overlapping grandparent files
380380
// (parent == level_ + 1, grandparent == level_ + 2)
381381
std::vector<FileMetaData*> grandparents_;
382382
size_t grandparent_index_; // Index in grandparent_starts_

src/policy/fees.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class TxConfirmStats;
4848
* in each bucket and the total amount of feerate paid in each bucket. Then we
4949
* calculate how many blocks Y it took each transaction to be mined. We convert
5050
* from a number of blocks to a number of periods Y' each encompassing "scale"
51-
* blocks. This is is tracked in 3 different data sets each up to a maximum
51+
* blocks. This is tracked in 3 different data sets each up to a maximum
5252
* number of periods. Within each data set we have an array of counters in each
5353
* feerate bucket and we increment all the counters from Y' up to max periods
5454
* representing that a tx was successfully confirmed in less than or equal to

src/qt/clientmodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ static void BlockTipChanged(ClientModel *clientmodel, bool initialSync, const CB
303303
}
304304
// if we are in-sync, update the UI regardless of last update time
305305
if (!initialSync || now - nLastUpdateNotification > MODEL_UPDATE_DELAY) {
306-
//pass a async signal to the UI thread
306+
//pass an async signal to the UI thread
307307
QMetaObject::invokeMethod(clientmodel, "numBlocksChanged", Qt::QueuedConnection,
308308
Q_ARG(int, pIndex->nHeight),
309309
Q_ARG(QDateTime, QDateTime::fromTime_t(pIndex->GetBlockTime())),

src/qt/coincontroldialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
499499
{
500500
// there is some fudging in these numbers related to the actual virtual transaction size calculation that will keep this estimate from being exact.
501501
// usually, the result will be an overestimate within a couple of satoshis so that the confirmation dialog ends up displaying a slightly smaller fee.
502-
// also, the witness stack size value value is a variable sized integer. usually, the number of stack items will be well under the single byte var int limit.
502+
// also, the witness stack size value is a variable sized integer. usually, the number of stack items will be well under the single byte var int limit.
503503
nBytes += 2; // account for the serialized marker and flag bytes
504504
nBytes += nQuantity; // account for the witness byte that holds the number of stack items for each input.
505505
}

0 commit comments

Comments
 (0)