diff --git a/src/cluster_linearize.h b/src/cluster_linearize.h index 757c81f1083..50b121d9e4c 100644 --- a/src/cluster_linearize.h +++ b/src/cluster_linearize.h @@ -671,7 +671,7 @@ public: m_sorted_to_original(depgraph.TxCount()), m_original_to_sorted(depgraph.PositionRange()) { - // Determine reordering mapping, by sorting by decreasing feerate. Unusued positions are + // Determine reordering mapping, by sorting by decreasing feerate. Unused positions are // not included, as they will never be looked up anyway. ClusterIndex sorted_pos{0}; for (auto i : depgraph.Positions()) { diff --git a/src/ipc/protocol.h b/src/ipc/protocol.h index b2ebf99e8c8..cb964d802fb 100644 --- a/src/ipc/protocol.h +++ b/src/ipc/protocol.h @@ -54,7 +54,7 @@ public: //! The optional `ready_fn` callback will be called after the event loop is //! created but before it is started. This can be useful in tests to trigger //! client connections from another thread as soon as the event loop is - //! available, but should not be neccessary in normal code which starts + //! available, but should not be necessary in normal code which starts //! clients and servers independently. virtual void serve(int fd, const char* exe_name, interfaces::Init& init, const std::function& ready_fn = {}) = 0; diff --git a/src/pow.cpp b/src/pow.cpp index d50d0cfeefe..bbcf39b5932 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -136,7 +136,7 @@ bool PermittedDifficultyTransition(const Consensus::Params& params, int64_t heig } // Bypasses the actual proof of work check during fuzz testing with a simplified validation checking whether -// the most signficant bit of the last byte of the hash is set. +// the most significant bit of the last byte of the hash is set. bool CheckProofOfWork(uint256 hash, unsigned int nBits, const Consensus::Params& params) { if constexpr (G_FUZZING) return (hash.data()[31] & 0x80) == 0; diff --git a/src/test/txdownload_tests.cpp b/src/test/txdownload_tests.cpp index e401fbf59c4..54f475f0720 100644 --- a/src/test/txdownload_tests.cpp +++ b/src/test/txdownload_tests.cpp @@ -82,7 +82,7 @@ static bool CheckOrphanBehavior(node::TxDownloadManagerImpl& txdownload_impl, co } if (expect_orphan != txdownload_impl.m_orphanage.HaveTx(tx->GetWitnessHash())) { - err_msg = strprintf("unexpectedly %s tx in orpanage", expect_orphan ? "did not find" : "found"); + err_msg = strprintf("unexpectedly %s tx in orphanage", expect_orphan ? "did not find" : "found"); return false; } if (expect_keep != ret.m_should_add_extra_compact_tx) { diff --git a/test/functional/test_framework/socks5.py b/test/functional/test_framework/socks5.py index 28be5a0f55e..33726eaaaed 100644 --- a/test/functional/test_framework/socks5.py +++ b/test/functional/test_framework/socks5.py @@ -114,7 +114,7 @@ class Socks5Connection(): self.conn = conn def handle(self): - """Handle socks5 request according to RFC192.""" + """Handle socks5 request according to RFC1928.""" try: # Verify socks version ver = recvall(self.conn, 1)[0]