Skip to content

Commit

Permalink
fix: minor typo corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerlepine authored and xanimo committed Mar 25, 2024
1 parent 610c333 commit b8829de
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/test/coins_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ TxData &FindRandomFrom(const std::set<uint256> &txidset) {
// except the emphasis is on testing the functionality of UpdateCoins
// random txs are created and UpdateCoins is used to update the cache stack
// In particular it is tested that spending a duplicate coinbase tx
// has the expected effect (the other duplicate is overwitten at all cache levels)
// has the expected effect (the other duplicate is overwritten at all cache levels)
BOOST_AUTO_TEST_CASE(updatecoins_simulation_test)
{
bool spent_a_duplicate_coinbase = false;
Expand Down
2 changes: 1 addition & 1 deletion src/tinyformat.h
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ namespace detail {

// Type-opaque holder for an argument to format(), with associated actions on
// the type held as explicit function pointers. This allows FormatArg's for
// each argument to be allocated as a homogenous array inside FormatList
// each argument to be allocated as a homogeneous array inside FormatList
// whereas a naive implementation based on inheritance does not.
class FormatArg
{
Expand Down
2 changes: 1 addition & 1 deletion src/torcontrol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ class TorController
TorController(struct event_base* base, const std::string& target);
~TorController();

/** Get name fo file to store private key in */
/** Get name for file to store private key in */
std::string GetPrivateKeyFile();

/** Reconnect, after getting disconnected */
Expand Down
2 changes: 1 addition & 1 deletion src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2583,7 +2583,7 @@ bool ActivateBestChain(CValidationState &state, const CChainParams& chainparams,

} // MemPoolConflictRemovalTracker destroyed and conflict evictions are notified

// Transactions in the connnected block are notified
// Transactions in the connected block are notified
for (const auto& pair : connectTrace.blocksConnected) {
assert(pair.second);
const CBlock& block = *(pair.second);
Expand Down
2 changes: 1 addition & 1 deletion src/validationinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class CValidationInterface {
struct CMainSignals {
/** Notifies listeners of updated block chain tip */
boost::signals2::signal<void (const CBlockIndex *, const CBlockIndex *, bool fInitialDownload)> UpdatedBlockTip;
/** A posInBlock value for SyncTransaction calls for tranactions not
/** A posInBlock value for SyncTransaction calls for transactions not
* included in connected blocks such as transactions removed from mempool,
* accepted to mempool or appearing in disconnected blocks.*/
static const int SYNC_TRANSACTION_NOT_IN_BLOCK = -1;
Expand Down

0 comments on commit b8829de

Please sign in to comment.