Skip to content

Commit ac83133

Browse files
committed
doc: Fix some misspellings
1 parent 463eab5 commit ac83133

12 files changed

+13
-14
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ with no central authority: managing transactions and issuing money are carried
1212
out collectively by the network. Bitcoin Core is the name of open source
1313
software which enables the use of this currency.
1414

15-
For more information, as well as an immediately useable, binary version of
15+
For more information, as well as an immediately usable, binary version of
1616
the Bitcoin Core software, see https://bitcoincore.org/en/download/, or read the
1717
[original whitepaper](https://bitcoincore.org/bitcoin.pdf).
1818

contrib/guix/manifest.scm

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ chain for " target " development."))
106106
(base-libc glibc-2.27)
107107
(base-gcc (make-gcc-rpath-link
108108
(make-ssp-fixed-gcc gcc-9))))
109-
"Convienience wrapper around MAKE-CROSS-TOOLCHAIN with default values
109+
"Convenience wrapper around MAKE-CROSS-TOOLCHAIN with default values
110110
desirable for building Bitcoin Core release binaries."
111111
(make-cross-toolchain target
112112
base-gcc-for-libc

doc/developer-notes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ Strings and formatting
654654

655655
- Do not use it to convert to `QString`. Use `QString::fromStdString()`.
656656

657-
- *Rationale*: Qt has build-in functionality for converting their string
657+
- *Rationale*: Qt has built-in functionality for converting their string
658658
type from/to C++. No need to roll your own.
659659

660660
- In cases where do you call `.c_str()`, you might want to additionally check that the string does not contain embedded '\0' characters, because

src/netbase.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ static void LogConnectFailure(bool manual_connection, const char* fmt, const Arg
605605
* @param nTimeout Wait this many milliseconds for the connection to be
606606
* established.
607607
* @param manual_connection Whether or not the connection was manually requested
608-
* (e.g. thru the addnode RPC)
608+
* (e.g. through the addnode RPC)
609609
*
610610
* @returns Whether or not a connection was successfully made.
611611
*/
@@ -709,7 +709,7 @@ bool GetProxy(enum Network net, proxyType &proxyInfoOut) {
709709

710710
/**
711711
* Set the name proxy to use for all connections to nodes specified by a
712-
* hostname. After setting this proxy, connecting to a node sepcified by a
712+
* hostname. After setting this proxy, connecting to a node specified by a
713713
* hostname won't result in a local lookup of said hostname, rather, connect to
714714
* the node by asking the name proxy for a proxy connection to the hostname,
715715
* effectively delegating the hostname lookup to the specified proxy.

src/node/transaction.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ TransactionError BroadcastTransaction(NodeContext& node, const CTransactionRef t
3131
CCoinsViewCache &view = ::ChainstateActive().CoinsTip();
3232
for (size_t o = 0; o < tx->vout.size(); o++) {
3333
const Coin& existingCoin = view.AccessCoin(COutPoint(hashTx, o));
34-
// IsSpent doesnt mean the coin is spent, it means the output doesnt' exist.
34+
// IsSpent doesn't mean the coin is spent, it means the output doesn't exist.
3535
// So if the output does exist, then this transaction exists in the chain.
3636
if (!existingCoin.IsSpent()) return TransactionError::ALREADY_IN_CHAIN;
3737
}

src/qt/bitcoin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ void BitcoinApplication::requestShutdown()
309309
// rescanning a wallet.
310310
m_node.startShutdown();
311311
// Unsetting the client model can cause the current thread to wait for node
312-
// to complete an operation, like wait for a RPC execution to complate.
312+
// to complete an operation, like wait for a RPC execution to complete.
313313
window->setClientModel(nullptr);
314314
pollShutdownTimer->stop();
315315

src/rpc/rawtransaction.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1620,7 +1620,7 @@ UniValue joinpsbts(const JSONRPCRequest& request)
16201620
std::vector<int> output_indices(merged_psbt.outputs.size());
16211621
std::iota(output_indices.begin(), output_indices.end(), 0);
16221622

1623-
// Shuffle input and output indicies lists
1623+
// Shuffle input and output indices lists
16241624
Shuffle(input_indices.begin(), input_indices.end(), FastRandomContext());
16251625
Shuffle(output_indices.begin(), output_indices.end(), FastRandomContext());
16261626

src/rpc/rawtransaction_util.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ UniValue SignTransaction(CMutableTransaction& mtx, const SigningProvider* keysto
2929
* Parse a prevtxs UniValue array and get the map of coins from it
3030
*
3131
* @param prevTxs Array of previous txns outputs that tx depends on but may not yet be in the block chain
32-
* @param keystore A pointer to the temprorary keystore if there is one
32+
* @param keystore A pointer to the temporary keystore if there is one
3333
* @param coins Map of unspent outputs - coins in mempool and current chain UTXO set, may be extended by previous txns outputs after call
3434
*/
3535
void ParsePrevouts(const UniValue& prevTxsUnival, FillableSigningProvider* keystore, std::map<COutPoint, Coin>& coins);

src/script/descriptor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace {
3636
// xpubs use other characters too, but already have their own checksum
3737
// mechanism.
3838
// * Function names like "multi()" use other characters, but mistakes in
39-
// these would generally result in an unparseable descriptor.
39+
// these would generally result in an unparsable descriptor.
4040
// * A case error always counts as 1 symbol error.
4141
// * Any other 1 character substitution error counts as 1 or 2 symbol errors.
4242
// * Any 1 symbol error is always detected.

src/validation.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ bool MemPoolAccept::PreChecks(ATMPArgs& args, Workspace& ws)
733733
// To check these we first check if we meet the RBF criteria, above, and increment the descendant
734734
// limits by the direct conflict and its descendants (as these are recalculated in
735735
// CalculateMempoolAncestors by assuming the new transaction being added is a new descendant, with no
736-
// removals, of each parent's existing dependant set). The ancestor count limits are unmodified (as
736+
// removals, of each parent's existing dependent set). The ancestor count limits are unmodified (as
737737
// the ancestor limits should be the same for both our new transaction and any conflicts).
738738
// We don't bother incrementing m_limit_descendants by the full removal count as that limit never comes
739739
// into force here (as we're only adding a single transaction).
+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
cas
21
hights
32
mor
43
mut
54
objext
6-
unselect
75
useable
86
wit
97
unparseable
@@ -13,3 +11,4 @@ errorstring
1311
keyserver
1412
homogenous
1513
setban
14+
hist

test/lint/lint-spelling.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ if ! command -v codespell > /dev/null; then
1515
fi
1616

1717
IGNORE_WORDS_FILE=test/lint/lint-spelling.ignore-words.txt
18-
if ! codespell --check-filenames --disable-colors --quiet-level=7 --ignore-words=${IGNORE_WORDS_FILE} $(git ls-files -- ":(exclude)build-aux/m4/" ":(exclude)contrib/seeds/*.txt" ":(exclude)depends/" ":(exclude)doc/release-notes/" ":(exclude)src/leveldb/" ":(exclude)src/qt/locale/" ":(exclude)src/secp256k1/" ":(exclude)src/univalue/"); then
18+
if ! codespell --check-filenames --disable-colors --quiet-level=7 --ignore-words=${IGNORE_WORDS_FILE} $(git ls-files -- ":(exclude)build-aux/m4/" ":(exclude)contrib/seeds/*.txt" ":(exclude)depends/" ":(exclude)doc/release-notes/" ":(exclude)src/leveldb/" ":(exclude)src/qt/locale/" ":(exclude)src/qt/*.qrc" ":(exclude)src/secp256k1/" ":(exclude)src/univalue/"); then
1919
echo "^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in ${IGNORE_WORDS_FILE}"
2020
fi

0 commit comments

Comments
 (0)