Skip to content

Commit

Permalink
doc: Correct spelling errors in comments
Browse files Browse the repository at this point in the history
And ci script output.

Identified via test/lint/lint-spelling
  • Loading branch information
Empact committed Mar 3, 2020
1 parent ac5c5d0 commit 9b0e162
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ci/test/05_before_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [[ $HOST = *-mingw32 ]]; then
fi
if [ -z "$NO_DEPENDS" ]; then
if [[ $DOCKER_NAME_TAG == centos* ]]; then
# CentOS has problems building the depends if the config shell is not explicitely set
# CentOS has problems building the depends if the config shell is not explicitly set
# (i.e. for libevent a Makefile with an empty SHELL variable is generated, leading to
# an error as the first command is executed)
SHELL_OPTS="CONFIG_SHELL=/bin/bash"
Expand Down
2 changes: 1 addition & 1 deletion src/logging/timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class Timer
const std::string m_title{};

//! Forwarded on to LogPrint if specified - has the effect of only
//! outputing the timing log when a particular debug= category is specified.
//! outputting the timing log when a particular debug= category is specified.
const BCLog::LogFlags m_log_category{};

};
Expand Down
2 changes: 1 addition & 1 deletion src/node/psbt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ PSBTAnalysis AnalyzePSBT(PartiallySignedTransaction psbtx)
}
}

// Calculate next role for PSBT by grabbing "minumum" PSBTInput next role
// Calculate next role for PSBT by grabbing "minimum" PSBTInput next role
result.next = PSBTRole::EXTRACTOR;
for (unsigned int i = 0; i < psbtx.tx->vin.size(); ++i) {
PSBTInputAnalysis& input_analysis = result.inputs[i];
Expand Down
2 changes: 1 addition & 1 deletion src/txmempool.h
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ class CTxMemPool
* determine if that transaction has not yet been visited during the current
* traversal's epoch.
* Algorithms using std::set can be replaced on a one by one basis.
* Both techniques are not fundamentally incomaptible across the codebase.
* Both techniques are not fundamentally incompatible across the codebase.
* Generally speaking, however, the remaining use of std::set for mempool
* traversal should be viewed as a TODO for replacement with an epoch based
* traversal, rather than a preference for std::set over epochs in that
Expand Down
2 changes: 1 addition & 1 deletion test/functional/feature_backwards_compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def run_test(self):
# Create another conflicting transaction using RBF
tx3_id = self.nodes[1].sendtoaddress(return_address, 1)
tx4_id = self.nodes[1].bumpfee(tx3_id)["txid"]
# Abondon transaction, but don't confirm
# Abandon transaction, but don't confirm
self.nodes[1].abandontransaction(tx3_id)

# w1_v19: regular wallet, created with v0.19
Expand Down
2 changes: 1 addition & 1 deletion test/lint/lint-shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if ! shellcheck "$EXCLUDE" $(git ls-files -- '*.sh' | grep -vE 'src/(leveldb|sec
fi

if ! command -v yq > /dev/null; then
echo "Skipping Gitian desriptor scripts checking since yq is not installed."
echo "Skipping Gitian descriptor scripts checking since yq is not installed."
exit $EXIT_CODE
fi

Expand Down
2 changes: 2 additions & 0 deletions test/lint/lint-spelling.ignore-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ keyserver
homogenous
setban
hist
ser
unselect

0 comments on commit 9b0e162

Please sign in to comment.