Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove repetitive words #548

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/alias-server/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/tracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion electrum/electrumabc/schnorr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/ecashaddrjs/src/cashaddr.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/index/base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ void BaseIndex::BlockConnected(const std::shared_ptr<const CBlock> &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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/net_permissions.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/avalanche.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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."},
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/scriptpubkeyman.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/test/wallet_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down