Skip to content

Commit 00f1ceb

Browse files
committed
fix: some typos and mispells by linter for dash specific code
See https://github.com/dashpay/dash/actions/runs/18040648976/job/51338513876?pr=6855
1 parent 9f01400 commit 00f1ceb

File tree

13 files changed

+14
-14
lines changed

13 files changed

+14
-14
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ case $host in
355355
esac
356356

357357
if test "$enable_debug" = "yes"; then
358-
dnl If debugging is enabled, and the user hasn't overriden CXXFLAGS, clear
358+
dnl If debugging is enabled, and the user hasn't overridden CXXFLAGS, clear
359359
dnl them, to prevent autoconfs "-g -O2" being added. Otherwise we'd end up
360360
dnl with "-O0 -g3 -g -O2".
361361
if test "$CXXFLAGS_overridden" = "no"; then
@@ -1003,7 +1003,7 @@ if test "$use_lcov" = "yes"; then
10031003
[AC_MSG_ERROR([lcov testing requested but --coverage linker flag does not work])])
10041004
AX_CHECK_COMPILE_FLAG([--coverage],[CORE_CXXFLAGS="$CORE_CXXFLAGS --coverage"],
10051005
[AC_MSG_ERROR([lcov testing requested but --coverage flag does not work])])
1006-
dnl If coverage is enabled, and the user hasn't overriden CXXFLAGS, clear
1006+
dnl If coverage is enabled, and the user hasn't overridden CXXFLAGS, clear
10071007
dnl them, to prevent autoconfs "-g -O2" being added. Otherwise we'd end up
10081008
dnl with "--coverage -Og -O0 -g -O2".
10091009
if test "$CXXFLAGS_overridden" = "no"; then

src/evo/netinfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ NetInfoStatus ExtNetInfo::ProcessCandidate(const NetInfoPurpose purpose, const N
323323
assert(status); // We did just check to see if our value already existed, try_emplace shouldn't fail
324324
}
325325

326-
// Candidate succesfully added, update cache
326+
// Candidate successfully added, update cache
327327
m_all_entries.push_back(candidate);
328328
return NetInfoStatus::Success;
329329
}

src/masternode/payments.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ CAmount PlatformShare(const CAmount reward)
4141
CAmount masternodeReward = GetMasternodePayment(nBlockHeight, blockSubsidy + feeReward, fV20Active);
4242

4343
// Credit Pool doesn't exist before V20. If any part of reward will re-allocated to credit pool before v20
44-
// activation these fund will be just permanently lost. Applyable for devnets, regtest, testnet
44+
// activation these fund will be just permanently lost. Applicable for devnets, regtest, testnet
4545
if (fV20Active && DeploymentActiveAfter(pindexPrev, m_consensus_params, Consensus::DEPLOYMENT_MN_RR)) {
4646
CAmount masternodeSubsidyReward = GetMasternodePayment(nBlockHeight, blockSubsidy, fV20Active);
4747
const CAmount platformReward = PlatformShare(masternodeSubsidyReward);

src/net.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ const std::array<std::string, 40> V2_DASH_IDS = {
10211021

10221022
/** A complete set of short IDs
10231023
*
1024-
* Bitcoin takes up short IDs upto 128 (lower half) while Dash can take
1024+
* Bitcoin takes up short IDs up to 128 (lower half) while Dash can take
10251025
* up short IDs between 128 and 256 (upper half) most of the array will
10261026
* have entries that correspond to nothing.
10271027
*

src/rpc/rawtransaction_util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void SignTransactionResultToJSON(CMutableTransaction& mtx, bool complete, const
3232
* Parse a prevtxs UniValue array and get the map of coins from it
3333
*
3434
* @param prevTxsUnival Array of previous txns outputs that tx depends on but may not yet be in the block chain
35-
* @param keystore A pointer to the temprorary keystore if there is one
35+
* @param keystore A pointer to the temporary keystore if there is one
3636
* @param coins Map of unspent outputs - coins in mempool and current chain UTXO set, may be extended by previous txns outputs after call
3737
*/
3838
void ParsePrevouts(const UniValue& prevTxsUnival, FillableSigningProvider* keystore, std::map<COutPoint, Coin>& coins);

src/sync.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ using RecursiveMutex = AnnotatedMixin<std::recursive_mutex>;
144144
/** Wrapped mutex: supports waiting but not recursive locking */
145145
using Mutex = AnnotatedMixin<std::mutex>;
146146

147-
/** Wrapped shared mutex: supports read locking via .shared_lock, exlusive locking via .lock;
147+
/** Wrapped shared mutex: supports read locking via .shared_lock, exclusive locking via .lock;
148148
* does not support recursive locking */
149149
using SharedMutex = SharedAnnotatedMixin<std::shared_mutex>;
150150

src/test/coinjoin_queue_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ BOOST_FIXTURE_TEST_SUITE(coinjoin_queue_tests, BasicTestingSetup)
1515

1616
static CBLSSecretKey MakeSecretKey()
1717
{
18-
// Generate a dummy operator keypair for signing
18+
// Generate a dummy operator key pair for signing
1919
CBLSSecretKey sk;
2020
sk.MakeNewKey();
2121
return sk;

src/util/enumerate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* similar to python's enumerate(iterable).
1212
* @tparam T type of iterable, automatically deduced
13-
* @tparam TIter begin of containter
13+
* @tparam TIter begin of container
1414
* @param iterable an iterable object, can be a temporary
1515
* @return struct containing a size_t index, and it's element in iterable
1616
*/

src/validation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4411,7 +4411,7 @@ bool TestBlockValidity(BlockValidationState& state,
44114411
assert(pindexPrev && pindexPrev == chainstate.m_chain.Tip());
44124412

44134413
// TODO: instead restoring bls_legacy_scheme better to keep it unchanged
4414-
// Moreover, current implementation is working incorrent if current function
4414+
// Moreover, current implementation is working incorrect if current function
44154415
// will return value too early due to error: old value won't be restored
44164416
auto bls_legacy_scheme = bls::bls_legacy_scheme.load();
44174417

src/wallet/coinselection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ struct OutputGroup
248248
[[nodiscard]] CAmount GetSelectionWaste(const std::set<COutput>& inputs, CAmount change_cost, CAmount target, bool use_effective_value = true);
249249

250250

251-
/** Chooose a random change target for each transaction to make it harder to fingerprint the Core
251+
/** Choose a random change target for each transaction to make it harder to fingerprint the Core
252252
* wallet based on the change output values of transactions it creates.
253253
* The random value is between 50ksat and min(2 * payment_value, 1milsat)
254254
* When payment_value <= 25ksat, the value is just 50ksat.

0 commit comments

Comments
 (0)