Skip to content

Commit b748bf6

Browse files
committed
Fix spelling errors identified by codespell 1.15.0
After this commit, the only remaining output is: $ test/lint/lint-spelling.sh src/test/base32_tests.cpp:14: fo ==> of, for src/test/base64_tests.cpp:14: fo ==> of, for ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/lint-spelling.ignore-words.txt Note: * I ignore several valid alternative spellings * homogenous is present in tinyformat, hence should be addressed upstream * process' is correct only if there are plural processes
1 parent 6899ef3 commit b748bf6

File tree

10 files changed

+17
-10
lines changed

10 files changed

+17
-10
lines changed

.travis/lint_04_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
export LC_ALL=C
88

9-
travis_retry pip install codespell==1.13.0
9+
travis_retry pip install codespell==1.15.0
1010
travis_retry pip install flake8==3.5.0
1111
travis_retry pip install vulture==0.29
1212

contrib/devtools/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Then do:
144144
Create and verify timestamps of merge commits
145145
---------------------------------------------
146146
To create or verify timestamps on the merge commits, install the OpenTimestamps
147-
client via `pip3 install opentimestamps-client`. Then, dowload the gpg wrapper
147+
client via `pip3 install opentimestamps-client`. Then, download the gpg wrapper
148148
`ots-git-gpg-wrapper.sh` and set it as git's `gpg.program`. See
149149
[the ots git integration documentation](https://github.com/opentimestamps/opentimestamps-client/blob/master/doc/git-integration.md#usage)
150150
for further details.

doc/developer-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ thread](https://askubuntu.com/questions/50145/how-to-install-perf-monitoring-too
280280
for specific instructions.
281281

282282
Certain kernel parameters may need to be set for perf to be able to inspect the
283-
running process' stack.
283+
running process's stack.
284284

285285
```sh
286286
$ sudo sysctl -w kernel.perf_event_paranoid=-1

doc/release-notes/release-notes-0.12.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ minimum relay feerate. The initial minimum relay feerate is set to
127127
Bitcoin Core 0.12 also introduces new default policy limits on the length and
128128
size of unconfirmed transaction chains that are allowed in the mempool
129129
(generally limiting the length of unconfirmed chains to 25 transactions, with a
130-
total size of 101 KB). These limits can be overriden using command line
130+
total size of 101 KB). These limits can be overridden using command line
131131
arguments; see the extended help (`--help -help-debug`) for more information.
132132

133133
Opt-in Replace-by-fee transactions

src/netaddress.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ bool CNetAddr::IsLocal() const
239239
* be used to refer to an actual host.
240240
*
241241
* @note A valid address may or may not be publicly routable on the global
242-
* internet. As in, the set of valid addreses is a superset of the set of
242+
* internet. As in, the set of valid addresses is a superset of the set of
243243
* publicly routable addresses.
244244
*
245245
* @see CNetAddr::IsRoutable()
@@ -287,7 +287,7 @@ bool CNetAddr::IsValid() const
287287
* @returns Whether or not this network address is publicly routable on the
288288
* global internet.
289289
*
290-
* @note A routable address is always valid. As in, the set of routable addreses
290+
* @note A routable address is always valid. As in, the set of routable addresses
291291
* is a subset of the set of valid addresses.
292292
*
293293
* @see CNetAddr::IsValid()

src/policy/fees.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class TxConfirmStats
4747
std::vector<double> txCtAvg;
4848

4949
// Count the total # of txs confirmed within Y blocks in each bucket
50-
// Track the historical moving average of theses totals over blocks
50+
// Track the historical moving average of these totals over blocks
5151
std::vector<std::vector<double>> confAvg; // confAvg[Y][X]
5252

5353
// Track moving avg of txs which have been evicted from the mempool

src/rpc/rawtransaction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
/** High fee for sendrawtransaction and testmempoolaccept.
4141
* By default, transaction with a fee higher than this will be rejected by the
42-
* RPCs. This can be overriden with the maxfeerate argument.
42+
* RPCs. This can be overridden with the maxfeerate argument.
4343
*/
4444
constexpr static CAmount DEFAULT_MAX_RAW_TX_FEE{COIN / 10};
4545

src/test/crypto_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ BOOST_AUTO_TEST_CASE(poly1305_testvector)
567567

568568
BOOST_AUTO_TEST_CASE(hkdf_hmac_sha256_l32_tests)
569569
{
570-
// Use rfc5869 test vectors but trucated to 32 bytes (our implementation only support length 32)
570+
// Use rfc5869 test vectors but truncated to 32 bytes (our implementation only support length 32)
571571
TestHKDF_SHA256_32(
572572
/* IKM */ "0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b",
573573
/* salt */ "000102030405060708090a0b0c",

src/torcontrol.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ class TorController
412412
TorController(struct event_base* base, const std::string& target);
413413
~TorController();
414414

415-
/** Get name fo file to store private key in */
415+
/** Get name of file to store private key in */
416416
fs::path GetPrivateKeyFile();
417417

418418
/** Reconnect, after getting disconnected */

test/lint/lint-spelling.ignore-words.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,10 @@ mut
55
objext
66
unselect
77
useable
8+
wit
9+
unparseable
10+
copyable
11+
cachable
12+
errorstring
13+
keyserver
14+
homogenous

0 commit comments

Comments
 (0)