mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-11 15:56:58 -04:00
doc: Fix unrelated typos reported by codespell
This commit is contained in:
parent
793e0ff22c
commit
fab893e0ca
5 changed files with 5 additions and 5 deletions
|
@ -808,7 +808,7 @@ if test x$use_hardening != xno; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl These flags are specific to ld64, and may cause issues with other linkers.
|
dnl These flags are specific to ld64, and may cause issues with other linkers.
|
||||||
dnl For example: GNU ld will intepret -dead_strip as -de and then try and use
|
dnl For example: GNU ld will interpret -dead_strip as -de and then try and use
|
||||||
dnl "ad_strip" as the symbol for the entry point.
|
dnl "ad_strip" as the symbol for the entry point.
|
||||||
if test x$TARGET_OS = xdarwin; then
|
if test x$TARGET_OS = xdarwin; then
|
||||||
AX_CHECK_LINK_FLAG([[-Wl,-dead_strip]], [LDFLAGS="$LDFLAGS -Wl,-dead_strip"],, [[$LDFLAG_WERROR]])
|
AX_CHECK_LINK_FLAG([[-Wl,-dead_strip]], [LDFLAGS="$LDFLAGS -Wl,-dead_strip"],, [[$LDFLAG_WERROR]])
|
||||||
|
|
|
@ -41,7 +41,7 @@ static constexpr uint8_t PSBT_OUT_BIP32_DERIVATION = 0x02;
|
||||||
static constexpr uint8_t PSBT_SEPARATOR = 0x00;
|
static constexpr uint8_t PSBT_SEPARATOR = 0x00;
|
||||||
|
|
||||||
// BIP 174 does not specify a maximum file size, but we set a limit anyway
|
// BIP 174 does not specify a maximum file size, but we set a limit anyway
|
||||||
// to prevent reading a stream indefinately and running out of memory.
|
// to prevent reading a stream indefinitely and running out of memory.
|
||||||
const std::streamsize MAX_FILE_SIZE_PSBT = 100000000; // 100 MiB
|
const std::streamsize MAX_FILE_SIZE_PSBT = 100000000; // 100 MiB
|
||||||
|
|
||||||
/** A structure for PSBTs which contain per-input information */
|
/** A structure for PSBTs which contain per-input information */
|
||||||
|
|
|
@ -256,7 +256,7 @@ void WalletView::gotoLoadPSBT()
|
||||||
|
|
||||||
TransactionError result = BroadcastTransaction(*clientModel->node().context(), tx, err_string, DEFAULT_MAX_RAW_TX_FEE_RATE.GetFeePerK(), /* relay */ true, /* wait_callback */ false);
|
TransactionError result = BroadcastTransaction(*clientModel->node().context(), tx, err_string, DEFAULT_MAX_RAW_TX_FEE_RATE.GetFeePerK(), /* relay */ true, /* wait_callback */ false);
|
||||||
if (result == TransactionError::OK) {
|
if (result == TransactionError::OK) {
|
||||||
Q_EMIT message(tr("Success"), tr("Broadcasted transaction sucessfully."), CClientUIInterface::MSG_INFORMATION | CClientUIInterface::MODAL);
|
Q_EMIT message(tr("Success"), tr("Broadcasted transaction successfully."), CClientUIInterface::MSG_INFORMATION | CClientUIInterface::MODAL);
|
||||||
} else {
|
} else {
|
||||||
Q_EMIT message(tr("Error"), QString::fromStdString(err_string), CClientUIInterface::MSG_ERROR);
|
Q_EMIT message(tr("Error"), QString::fromStdString(err_string), CClientUIInterface::MSG_ERROR);
|
||||||
}
|
}
|
||||||
|
|
|
@ -179,7 +179,7 @@ static bool getScriptFromDescriptor(const std::string& descriptor, CScript& scri
|
||||||
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, strprintf("Cannot derive script without private keys"));
|
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, strprintf("Cannot derive script without private keys"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Combo desriptors can have 2 or 4 scripts, so we can't just check scripts.size() == 1
|
// Combo descriptors can have 2 or 4 scripts, so we can't just check scripts.size() == 1
|
||||||
CHECK_NONFATAL(scripts.size() > 0 && scripts.size() <= 4);
|
CHECK_NONFATAL(scripts.size() > 0 && scripts.size() <= 4);
|
||||||
|
|
||||||
if (scripts.size() == 1) {
|
if (scripts.size() == 1) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
"""
|
"""
|
||||||
Test deprecation of the RPC getaddressinfo `label` field. It has been
|
Test deprecation of the RPC getaddressinfo `label` field. It has been
|
||||||
superceded by the `labels` field.
|
superseded by the `labels` field.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from test_framework.test_framework import BitcoinTestFramework
|
from test_framework.test_framework import BitcoinTestFramework
|
||||||
|
|
Loading…
Add table
Reference in a new issue