Skip to content

Commit f42fc1d

Browse files
klemensMarcoFalke
authored andcommitted
doc: spelling fixes
1 parent 65cc7aa commit f42fc1d

File tree

14 files changed

+15
-15
lines changed

14 files changed

+15
-15
lines changed

contrib/debian/examples/bitcoin.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
#rpcuser=Ulysseys
7777
#rpcpassword=YourSuperGreatPasswordNumber_DO_NOT_USE_THIS_OR_YOU_WILL_GET_ROBBED_385593
7878
#
79-
# The second method `rpcauth` can be added to server startup argument. It is set at intialization time
79+
# The second method `rpcauth` can be added to server startup argument. It is set at initialization time
8080
# using the output from the script in share/rpcuser/rpcuser.py after providing a username:
8181
#
8282
# ./share/rpcuser/rpcuser.py alice

doc/developer-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Developer Notes
44
Various coding styles have been used during the history of the codebase,
55
and the result is not very consistent. However, we're now trying to converge to
66
a single style, which is specified below. When writing patches, favor the new
7-
style over attempting to mimick the surrounding style, except for move-only
7+
style over attempting to mimic the surrounding style, except for move-only
88
commits.
99

1010
Do not submit patches solely to modify the style of existing code.

src/httpserver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ bool InitHTTPServer()
415415
LogPrintf("HTTP: creating work queue of depth %d\n", workQueueDepth);
416416

417417
workQueue = new WorkQueue<HTTPClosure>(workQueueDepth);
418-
// tranfer ownership to eventBase/HTTP via .release()
418+
// transfer ownership to eventBase/HTTP via .release()
419419
eventBase = base_ctr.release();
420420
eventHTTP = http_ctr.release();
421421
return true;

src/qt/networkstyle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ NetworkStyle::NetworkStyle(const QString &_appName, const int iconColorHueShift,
4444
// loop through pixels
4545
for(int x=0;x<img.width();x++)
4646
{
47-
// preserve alpha because QColor::getHsl doesen't return the alpha value
47+
// preserve alpha because QColor::getHsl doesn't return the alpha value
4848
a = qAlpha(scL[x]);
4949
QColor col(scL[x]);
5050

src/qt/test/rpcnestedtests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ void RPCNestedTests::rpcNestedTests()
7777
RPCConsole::RPCExecuteCommandLine(result, "getblockchaininfo "); //whitespace at the end will be tolerated
7878
QVERIFY(result.substr(0,1) == "{");
7979

80-
(RPCConsole::RPCExecuteCommandLine(result, "getblockchaininfo()[\"chain\"]")); //Quote path identifier are allowed, but look after a child contaning the quotes in the key
80+
(RPCConsole::RPCExecuteCommandLine(result, "getblockchaininfo()[\"chain\"]")); //Quote path identifier are allowed, but look after a child containing the quotes in the key
8181
QVERIFY(result == "null");
8282

8383
(RPCConsole::RPCExecuteCommandLine(result, "createrawtransaction [] {} 0")); //parameter not in brackets are allowed

src/qt/test/test_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ int main(int argc, char *argv[])
5757
bool fInvalid = false;
5858

5959
// Prefer the "minimal" platform for the test instead of the normal default
60-
// platform ("xcb", "windows", or "cocoa") so tests can't unintentially
60+
// platform ("xcb", "windows", or "cocoa") so tests can't unintentionally
6161
// interfere with any background GUIs and don't require extra resources.
6262
setenv("QT_QPA_PLATFORM", "minimal", 0);
6363

src/test/blockencodings_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static CBlock BuildBlockTestCase() {
5151
return block;
5252
}
5353

54-
// Number of shared use_counts we expect for a tx we havent touched
54+
// Number of shared use_counts we expect for a tx we haven't touched
5555
// == 2 (mempool + our copy from the GetSharedTx call)
5656
#define SHARED_TX_OFFSET 2
5757

src/test/coins_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ UtxoData::iterator FindRandomFrom(const std::set<COutPoint> &utxoSet) {
275275
// except the emphasis is on testing the functionality of UpdateCoins
276276
// random txs are created and UpdateCoins is used to update the cache stack
277277
// In particular it is tested that spending a duplicate coinbase tx
278-
// has the expected effect (the other duplicate is overwitten at all cache levels)
278+
// has the expected effect (the other duplicate is overwritten at all cache levels)
279279
BOOST_AUTO_TEST_CASE(updatecoins_simulation_test)
280280
{
281281
bool spent_a_duplicate_coinbase = false;

src/test/data/tx_invalid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "4259839 CHECKSEQUENCEVERIFY 1"]],
206206
"020000000100010000000000000000000000000000000000000000000000000000000000000000000000feff40000100000000000000000000000000", "P2SH,CHECKSEQUENCEVERIFY"],
207207

208-
["By-time locks, with argument just beyond txin.nSequence (but within numerical boundries)"],
208+
["By-time locks, with argument just beyond txin.nSequence (but within numerical boundaries)"],
209209
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "4194305 CHECKSEQUENCEVERIFY 1"]],
210210
"020000000100010000000000000000000000000000000000000000000000000000000000000000000000000040000100000000000000000000000000", "P2SH,CHECKSEQUENCEVERIFY"],
211211
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "4259839 CHECKSEQUENCEVERIFY 1"]],

test/functional/bumpfee.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_simple_bumpfee_succeeds(rbf_node, peer_node, dest_address):
9090
bumped_tx = rbf_node.bumpfee(rbfid)
9191
assert_equal(bumped_tx["errors"], [])
9292
assert bumped_tx["fee"] - abs(rbftx["fee"]) > 0
93-
# check that bumped_tx propogates, original tx was evicted and has a wallet conflict
93+
# check that bumped_tx propagates, original tx was evicted and has a wallet conflict
9494
sync_mempools((rbf_node, peer_node))
9595
assert bumped_tx["txid"] in rbf_node.getrawmempool()
9696
assert bumped_tx["txid"] in peer_node.getrawmempool()

0 commit comments

Comments
 (0)