Skip to content

Commit

Permalink
doc: Fix typos from codespell lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yerzhan7 committed Apr 7, 2021
1 parent 9be7fe4 commit 94c7dd9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion contrib/guix/README.md
Expand Up @@ -295,7 +295,7 @@ rebuild _just_ this derivation in a single-threaded fashion:
$ guix build --cores=1 /gnu/store/...-foo-3.6.12.drv
```

If the single-threaded rebuild stil did not succeed, you may need to dig deeper.
If the single-threaded rebuild did not succeed, you may need to dig deeper.
You may view `foo`'s build logs in `less` like so (please replace paths with the
path you see in the build failure output):

Expand Down
2 changes: 1 addition & 1 deletion contrib/guix/guix-build
Expand Up @@ -15,7 +15,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/libexec/prelude.bash"
###################

################
# Required non-builtin commands should be invokable
# Required non-builtin commands should be invocable
################

check_tools cat mkdir make git guix
Expand Down
2 changes: 1 addition & 1 deletion contrib/guix/libexec/prelude.bash
Expand Up @@ -9,7 +9,7 @@ source contrib/shell/realpath.bash
source contrib/shell/git-utils.bash

################
# Required non-builtin commands should be invokable
# Required non-builtin commands should be invocable
################

check_tools() {
Expand Down
2 changes: 1 addition & 1 deletion src/test/fuzz/tx_pool.cpp
Expand Up @@ -34,7 +34,7 @@ void initialize_tx_pool()

for (int i = 0; i < 2 * COINBASE_MATURITY; ++i) {
CTxIn in = MineBlock(g_setup->m_node, P2WSH_OP_TRUE);
// Remember the txids to avoid expensive disk acess later on
// Remember the txids to avoid expensive disk access later on
auto& outpoints = i < COINBASE_MATURITY ?
g_outpoints_coinbase_init_mature :
g_outpoints_coinbase_init_immature;
Expand Down
2 changes: 1 addition & 1 deletion src/txorphanage.h
Expand Up @@ -26,7 +26,7 @@ class TxOrphanage {
/** Check if we already have an orphan transaction (by txid or wtxid) */
bool HaveTx(const GenTxid& gtxid) const LOCKS_EXCLUDED(::g_cs_orphans);

/** Get an orphan transaction and its orginating peer
/** Get an orphan transaction and its originating peer
* (Transaction ref will be nullptr if not found)
*/
std::pair<CTransactionRef, NodeId> GetTx(const uint256& txid) const EXCLUSIVE_LOCKS_REQUIRED(g_cs_orphans);
Expand Down
2 changes: 1 addition & 1 deletion src/txrequest.cpp
Expand Up @@ -486,7 +486,7 @@ class TxRequestTracker::Impl {
}

//! Make the data structure consistent with a given point in time:
//! - REQUESTED annoucements with expiry <= now are turned into COMPLETED.
//! - REQUESTED announcements with expiry <= now are turned into COMPLETED.
//! - CANDIDATE_DELAYED announcements with reqtime <= now are turned into CANDIDATE_{READY,BEST}.
//! - CANDIDATE_{READY,BEST} announcements with reqtime > now are turned into CANDIDATE_DELAYED.
void SetTimePoint(std::chrono::microseconds now, std::vector<std::pair<NodeId, GenTxid>>* expired)
Expand Down

0 comments on commit 94c7dd9

Please sign in to comment.