diff --git a/apps/alias-server/src/main.js b/apps/alias-server/src/main.js index ec872f3ea6..07ae39753f 100644 --- a/apps/alias-server/src/main.js +++ b/apps/alias-server/src/main.js @@ -63,7 +63,7 @@ module.exports = { } }, /** - * Make sure the the database and API server shut down gracefully + * Make sure the database and API server shut down gracefully * @param {object} server the express server returned by the startServer function in app.js * @param {object} mongoClient the mongo client connection * @param {object} cache an initialized node-cache instance diff --git a/doc/tracing.md b/doc/tracing.md index be12d1457f..35342c0b4e 100644 --- a/doc/tracing.md +++ b/doc/tracing.md @@ -116,7 +116,7 @@ added to and removed (spent) from the cache when we connect a new block. (`chainstate.CoinsTip()`). For example, the RPCs `generateblock` and `getblocktemplate` call `TestBlockValidity()`, which applies the UTXO set changes to a temporary cache. Similarly, mempool consistency checks, which are -frequent on regtest, also apply the the UTXO set changes to a temporary cache. +frequent on regtest, also apply the UTXO set changes to a temporary cache. Changes to the _main_ UTXO cache and to temporary caches trigger the tracepoints. We can't tell if a temporary cache or the _main_ cache was changed. diff --git a/electrum/electrumabc/schnorr.py b/electrum/electrumabc/schnorr.py index cb3df382fd..9a040e3131 100644 --- a/electrum/electrumabc/schnorr.py +++ b/electrum/electrumabc/schnorr.py @@ -198,7 +198,7 @@ def verify(pubkey, signature, message_hash): May raise a ValueError or return False on failure. - `pubkey` should be the the raw public key bytes (as you would get from + `pubkey` should be the raw public key bytes (as you would get from bitcoin.pubic_key_from_private_key, after hex decoding, etc). `signature` should be the 64 byte schnorr signature as would be returned diff --git a/modules/ecashaddrjs/src/cashaddr.js b/modules/ecashaddrjs/src/cashaddr.js index d6274e8d18..6167644483 100644 --- a/modules/ecashaddrjs/src/cashaddr.js +++ b/modules/ecashaddrjs/src/cashaddr.js @@ -281,7 +281,7 @@ function getHashSizeBits(hash) { } /** - * Retrieves the the length in bits of the encoded hash from its bit + * Retrieves the length in bits of the encoded hash from its bit * representation within the version byte. * * @private diff --git a/src/index/base.cpp b/src/index/base.cpp index 2c09034b94..fd3d6e65fa 100644 --- a/src/index/base.cpp +++ b/src/index/base.cpp @@ -262,7 +262,7 @@ void BaseIndex::BlockConnected(const std::shared_ptr &block, } else { // Ensure block connects to an ancestor of the current best block. This // should be the case most of the time, but may not be immediately after - // the the sync thread catches up and sets m_synced. Consider the case + // the sync thread catches up and sets m_synced. Consider the case // where there is a reorg and the blocks on the stale branch are in the // ValidationInterface queue backlog even after the sync thread has // caught up to the new chain tip. In this unlikely event, log a warning @@ -312,7 +312,7 @@ void BaseIndex::ChainStateFlushed(const CBlockLocator &locator) { } // This checks that ChainStateFlushed callbacks are received after - // BlockConnected. The check may fail immediately after the the sync thread + // BlockConnected. The check may fail immediately after the sync thread // catches up and sets m_synced. Consider the case where there is a reorg // and the blocks on the stale branch are in the ValidationInterface queue // backlog even after the sync thread has caught up to the new chain tip. In diff --git a/src/net_permissions.h b/src/net_permissions.h index 9f0794c3cc..4503ea1fdf 100644 --- a/src/net_permissions.h +++ b/src/net_permissions.h @@ -37,7 +37,7 @@ enum class NetPermissionFlags : uint32_t { // unlimited amounts of addrs. Addr = (1U << 7), // Bypass the limit on how many proof INVs are tracked from this peer as - // well as the delay penalty when reaching the the in-flight requests limit + // well as the delay penalty when reaching the in-flight requests limit BypassProofRequestLimits = (1U << 30), // True if the user did not specifically set fine grained permissions diff --git a/src/rpc/avalanche.cpp b/src/rpc/avalanche.cpp index 80181d1754..38cefeff07 100644 --- a/src/rpc/avalanche.cpp +++ b/src/rpc/avalanche.cpp @@ -130,7 +130,7 @@ static RPCHelpMan addavalanchenode() { {"proof", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "Proof that the node is not a sybil."}, {"delegation", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, - "The proof delegation the the node public key"}, + "The proof delegation the node public key"}, }, RPCResult{RPCResult::Type::BOOL, "success", "Whether the addition succeeded or not."}, diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h index e9a1c2f7a7..b3afa330d6 100644 --- a/src/wallet/scriptpubkeyman.h +++ b/src/wallet/scriptpubkeyman.h @@ -396,7 +396,7 @@ class LegacyScriptPubKeyMan : public ScriptPubKeyMan, * * @param[out] nIndex the index of the key in keypool * @param[out] keypool the keypool the key was drawn from, which could be - * the the pre-split pool if present, or the internal or external pool + * the pre-split pool if present, or the internal or external pool * @param fRequestedInternal true if the caller would like the key drawn * from the internal keypool, false if external is preferred * diff --git a/src/wallet/test/wallet_tests.cpp b/src/wallet/test/wallet_tests.cpp index c01ca4d343..086dd653fe 100644 --- a/src/wallet/test/wallet_tests.cpp +++ b/src/wallet/test/wallet_tests.cpp @@ -473,7 +473,7 @@ BOOST_AUTO_TEST_CASE(LoadReceiveRequests) { // Test some watch-only LegacyScriptPubKeyMan methods by the procedure of // loading (LoadWatchOnly), checking (HaveWatchOnly), getting (GetWatchPubKey) // and removing (RemoveWatchOnly) a given PubKey, resp. its corresponding P2PK -// Script. Results of the the impact on the address -> PubKey map is dependent +// Script. Results of the impact on the address -> PubKey map is dependent // on whether the PubKey is a point on the curve static void TestWatchOnlyPubKey(LegacyScriptPubKeyMan *spk_man, const CPubKey &add_pubkey) {