diff options
author | fanquake <fanquake@gmail.com> | 2022-04-06 10:43:50 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-04-07 12:49:51 +0100 |
commit | eaf712c8019383dfa247dc7b9692bbd423cd01ba (patch) | |
tree | 7fe09c0813c4af5e5e6ed6d321128427ab8a5a1b | |
parent | 323d4c09c090a0c74b2fbedfb2cd575f1dd839f3 (diff) | |
download | bitcoin-eaf712c8019383dfa247dc7b9692bbd423cd01ba.tar.xz |
lint: codespell 2.1.0
-rwxr-xr-x | ci/lint/04_install.sh | 2 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | doc/build-openbsd.md | 2 | ||||
-rw-r--r-- | src/wallet/coinselection.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/ci/lint/04_install.sh b/ci/lint/04_install.sh index 1518c033f4..e043ba5a32 100755 --- a/ci/lint/04_install.sh +++ b/ci/lint/04_install.sh @@ -11,7 +11,7 @@ ${CI_RETRY_EXE} apt-get install -y clang-format-9 python3-pip curl git gawk jq update-alternatives --install /usr/bin/clang-format clang-format "$(which clang-format-9 )" 100 update-alternatives --install /usr/bin/clang-format-diff clang-format-diff "$(which clang-format-diff-9)" 100 -${CI_RETRY_EXE} pip3 install codespell==2.0.0 +${CI_RETRY_EXE} pip3 install codespell==2.1.0 ${CI_RETRY_EXE} pip3 install flake8==3.8.3 ${CI_RETRY_EXE} pip3 install mypy==0.910 ${CI_RETRY_EXE} pip3 install pyzmq==22.3.0 diff --git a/configure.ac b/configure.ac index 2ffd42f80b..ba570b2eee 100644 --- a/configure.ac +++ b/configure.ac @@ -361,7 +361,7 @@ case $host in esac if test "$enable_debug" = "yes"; then - dnl If debugging is enabled, and the user hasn't overriden CXXFLAGS, clear + dnl If debugging is enabled, and the user hasn't overridden CXXFLAGS, clear dnl them, to prevent autoconfs "-g -O2" being added. Otherwise we'd end up dnl with "-O0 -g3 -g -O2". if test "$CXXFLAGS_overridden" = "no"; then @@ -857,7 +857,7 @@ if test "$use_lcov" = "yes"; then [AC_MSG_ERROR([lcov testing requested but --coverage linker flag does not work])]) AX_CHECK_COMPILE_FLAG([--coverage],[CORE_CXXFLAGS="$CORE_CXXFLAGS --coverage"], [AC_MSG_ERROR([lcov testing requested but --coverage flag does not work])]) - dnl If coverage is enabled, and the user hasn't overriden CXXFLAGS, clear + dnl If coverage is enabled, and the user hasn't overridden CXXFLAGS, clear dnl them, to prevent autoconfs "-g -O2" being added. Otherwise we'd end up dnl with "--coverage -Og -O0 -g -O2". if test "$CXXFLAGS_overridden" = "no"; then diff --git a/doc/build-openbsd.md b/doc/build-openbsd.md index 1d8da1143e..99daf73c86 100644 --- a/doc/build-openbsd.md +++ b/doc/build-openbsd.md @@ -11,7 +11,7 @@ Run the following as root to install the base dependencies for building. ```bash pkg_add bash git gmake libevent libtool boost -# Select the newest version of the follow packages: +# Select the newest version of the following packages: pkg_add autoconf automake python ``` diff --git a/src/wallet/coinselection.h b/src/wallet/coinselection.h index 784a91e827..c1484c0a57 100644 --- a/src/wallet/coinselection.h +++ b/src/wallet/coinselection.h @@ -225,7 +225,7 @@ struct OutputGroup [[nodiscard]] CAmount GetSelectionWaste(const std::set<COutput>& inputs, CAmount change_cost, CAmount target, bool use_effective_value = true); -/** Chooose a random change target for each transaction to make it harder to fingerprint the Core +/** Choose a random change target for each transaction to make it harder to fingerprint the Core * wallet based on the change output values of transactions it creates. * The random value is between 50ksat and min(2 * payment_value, 1milsat) * When payment_value <= 25ksat, the value is just 50ksat. |