Skip to content

Commit e50312e

Browse files
fanquakeDeVikingMarkVolodymyrBg
committed
doc: fix typos
Co-authored-by: Ragnar <rodiondenmark@gmail.com> Co-authored-by: VolodymyrBg <aqdrgg19@gmail.com>
1 parent c797e50 commit e50312e

20 files changed

+24
-26
lines changed

contrib/macdeploy/gen-sdk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def run():
5454
out_sdktgz_path = pathlib.Path("./{}.tar.gz".format(out_name))
5555

5656
def tarfp_add_with_base_change(tarfp, dir_to_add, alt_base_dir):
57-
"""Add all files in dir_to_add to tarfp, but prepent alt_base_dir to the files'
57+
"""Add all files in dir_to_add to tarfp, but prepend alt_base_dir to the files'
5858
names
5959
6060
e.g. if the only file under /root/bazdir is /root/bazdir/qux, invoking:

contrib/signet/getcoins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def bitcoin_cli(rpc_command_and_params):
152152
elif res.status_code == 404:
153153
print('The specified faucet URL does not exist. Please check for any server issues/typo.')
154154
elif res.status_code == 429:
155-
print('The script does not allow for repeated transactions as the global faucet is rate-limitied to 1 request/IP/day. You can access the faucet website to get more coins manually')
155+
print('The script does not allow for repeated transactions as the global faucet is rate-limited to 1 request/IP/day. You can access the faucet website to get more coins manually')
156156
else:
157157
print(f'Returned Error Code {res.status_code}\n{res.text}\n')
158158
print('Please check the provided arguments for their validity and/or any possible typo.')

doc/productivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ You can do:
194194
git range-diff master previously-reviewed-head new-head
195195
```
196196

197-
Note that `git range-diff` also work for rebases:
197+
Note that `git range-diff` also works for rebases:
198198

199199
```
200200
P1--P2--P3--P4--P5 <-- previously-reviewed-head

doc/release-notes-27826.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
- Logs now include which peer sent us a header. Additionaly there are fewer
1+
- Logs now include which peer sent us a header. Additionally there are fewer
22
redundant header log messages. A side-effect of this change is that for
33
some untypical cases new headers aren't logged anymore, e.g. a direct
44
`BLOCK` message with a previously unknown header and `submitheader` RPC. (#27826)

doc/zmq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ serialized transaction.
127127

128128
Notifies about all transactions, both when they are added to mempool or when a new block
129129
arrives. This means a transaction could be published multiple times: first when it enters
130-
mempool and then again in each block that includes it. The body part of the mesage is the
130+
mempool and then again in each block that includes it. The body part of the message is the
131131
32-byte transaction hash in reversed byte order.
132132

133133
#### rawblock

src/common/netif.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ std::vector<CNetAddr> GetLocalAddresses()
309309
if (status != NO_ERROR) {
310310
// This includes ERROR_NO_DATA if there are no addresses and thus there's not even one PIP_ADAPTER_ADDRESSES
311311
// record in the returned structure.
312-
LogPrintLevel(BCLog::NET, BCLog::Level::Error, "Could not get local adapter addreses: %s\n", NetworkErrorString(status));
312+
LogPrintLevel(BCLog::NET, BCLog::Level::Error, "Could not get local adapter addresses: %s\n", NetworkErrorString(status));
313313
return addresses;
314314
}
315315

src/test/fuzz/muhash.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ FUZZ_TARGET(muhash)
198198
muhash3.Finalize(out2);
199199
},
200200
[&] {
201-
// Test that dividing a MuHash by itself brings it back to it's initial state
201+
// Test that dividing a MuHash by itself brings it back to its initial state
202202

203203
// See note about clang + self-assignment in test/uint256_tests.cpp
204204
#if defined(__clang__)
@@ -216,7 +216,7 @@ FUZZ_TARGET(muhash)
216216
out2 = initial_state_hash;
217217
},
218218
[&] {
219-
// Test that removing all added elements brings the object back to it's initial state
219+
// Test that removing all added elements brings the object back to its initial state
220220
muhash.Remove(data);
221221
muhash.Remove(data2);
222222
muhash.Finalize(out);

src/test/fuzz/p2p_headers_presync.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ class HeadersSyncSetup : public TestingSetup
3232
PeerManager::Options peerman_opts;
3333
node::ApplyArgsManOptions(*m_node.args, peerman_opts);
3434
peerman_opts.max_headers_result = FUZZ_MAX_HEADERS_RESULTS;
35-
// The peerman's rng is a global that is re-used, so it will be re-used
35+
// The peerman's rng is a global that is reused, so it will be reused
3636
// and may cause non-determinism between runs. This may even influence
37-
// the global RNG, because seeding may be done from the gloabl one. For
37+
// the global RNG, because seeding may be done from the global one. For
3838
// now, avoid it influencing the global RNG, and initialize it with a
3939
// constant instead.
4040
peerman_opts.deterministic_rng = true;

src/test/fuzz/policy_estimator_io.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ FUZZ_TARGET(policy_estimator_io, .init = initialize_policy_estimator_io)
2727
FuzzedDataProvider fuzzed_data_provider(buffer.data(), buffer.size());
2828
FuzzedFileProvider fuzzed_file_provider{fuzzed_data_provider};
2929
AutoFile fuzzed_auto_file{fuzzed_file_provider.open()};
30-
// Re-using block_policy_estimator across runs to avoid costly creation of CBlockPolicyEstimator object.
30+
// Reusing block_policy_estimator across runs to avoid costly creation of CBlockPolicyEstimator object.
3131
static CBlockPolicyEstimator block_policy_estimator{FeeestPath(*g_setup->m_node.args), DEFAULT_ACCEPT_STALE_FEE_ESTIMATES};
3232
if (block_policy_estimator.Read(fuzzed_auto_file)) {
3333
block_policy_estimator.Write(fuzzed_auto_file);

src/test/fuzz/utxo_snapshot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void utxo_snapshot_fuzz(FuzzBufferType buffer)
104104
FuzzedDataProvider fuzzed_data_provider(buffer.data(), buffer.size());
105105
SetMockTime(ConsumeTime(fuzzed_data_provider, /*min=*/1296688602)); // regtest genesis block timestamp
106106
auto& setup{*g_setup};
107-
bool dirty_chainman{false}; // Re-use the global chainman, but reset it when it is dirty
107+
bool dirty_chainman{false}; // Reuse the global chainman, but reset it when it is dirty
108108
auto& chainman{*setup.m_node.chainman};
109109

110110
const auto snapshot_path = gArgs.GetDataDirNet() / "fuzzed_snapshot.dat";

0 commit comments

Comments
 (0)