Skip to content

Commit 4e39489

Browse files
Merge #6528: chore: fix typos in Dash-specific comments
9110186 chore: fix typos in Dash-specific comments (UdjinM6) Pull request description: ## Issue being fixed or feature implemented Fix typos in Dash-specific comments only (not touching typos derived from bitcoin) ## What was done? ## How Has This Been Tested? ## Breaking Changes n/a ## Checklist: - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [ ] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: knst: utACK 9110186 PastaPastaPasta: utACK 9110186 Tree-SHA512: 9c042778817d7e94b8f3966f2102c5ea68c1651a83121deebd77268abaf77f0b695051aaf5b5d8933556b002a3e52dbe057616ffce26d60542c7a9b39ebeeea2
2 parents 8dac4b1 + 9110186 commit 4e39489

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

src/llmq/params.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ struct LLMQParams {
5454
// the size of the quorum, e.g. 50 or 400
5555
int size;
5656

57-
// The minimum number of valid members after the DKK. If less members are determined valid, no commitment can be
57+
// The minimum number of valid members after the DKG. If less members are determined valid, no commitment can be
5858
// created. Should be higher then the threshold to allow some room for failing nodes, otherwise quorum might end up
5959
// not being able to ever created a recovered signature if more nodes fail after the DKG
6060
int minSize;

src/llmq/quorums.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ CQuorumCPtr CQuorumManager::GetQuorum(Consensus::LLMQType llmqType, const uint25
638638
const CBlockIndex* pQuorumBaseBlockIndex = [&]() {
639639
// Lock contention may still be high here; consider using a shared lock
640640
// We cannot hold cs_quorumBaseBlockIndexCache the whole time as that creates lock-order inversion with cs_main;
641-
// We cannot aquire cs_main if we have cs_quorumBaseBlockIndexCache held
641+
// We cannot acquire cs_main if we have cs_quorumBaseBlockIndexCache held
642642
const CBlockIndex* pindex;
643643
if (!WITH_LOCK(cs_quorumBaseBlockIndexCache, return quorumBaseBlockIndexCache.get(quorumHash, pindex))) {
644644
pindex = WITH_LOCK(cs_main, return m_chainstate.m_blockman.LookupBlockIndex(quorumHash));

src/rpc/util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ CTxDestination AddAndGetMultisigDestination(const int required, const std::vecto
290290
throw JSONRPCError(RPC_INVALID_PARAMETER, (strprintf("redeemScript exceeds size limit: %d > %d", script_out.size(), MAX_SCRIPT_ELEMENT_SIZE)));
291291
}
292292

293-
// Make the address (simplier implementation in compare to bitcoin)
293+
// Make the address (simpler implementation in compare to bitcoin)
294294
return AddAndGetDestinationForScript(keystore, script_out);
295295
}
296296

src/test/util/setup_common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ BasicTestingSetup::BasicTestingSetup(const std::string& chainName, const std::ve
193193
m_node.connman = std::make_unique<CConnman>(0x1337, 0x1337, *m_node.addrman, *m_node.netgroupman); // Deterministic randomness for tests.
194194

195195
// while g_wallet_init_interface is init here at very early stage
196-
// we can't get rid of unique_ptr from wallet/contex.h
196+
// we can't get rid of unique_ptr from wallet/context.h
197197
// TODO: remove unique_ptr from wallet/context.h after bitcoin/bitcoin#22219
198198
g_wallet_init_interface.Construct(m_node);
199199
fCheckBlockIndex = true;

src/txmempool.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,12 +1103,12 @@ void CTxMemPool::removeForBlock(const std::vector<CTransactionRef>& vtx, unsigne
11031103
}
11041104

11051105
/**
1106-
* Called when a lenght of chain is increased. Removes from mempool expired asset-unlock transactions
1106+
* Called when a length of chain is increased. Removes from mempool expired asset-unlock transactions
11071107
*/
11081108
void CTxMemPool::removeExpiredAssetUnlock(int nBlockHeight)
11091109
{
11101110
AssertLockHeld(cs);
1111-
// items to removed should be firstly collected to independed list,
1111+
// items to removed should be firstly collected to independent list,
11121112
// because removing items by `removeRecursive` changes the mapAssetUnlockExpiry
11131113
std::vector<CTransactionRef> entries;
11141114
for (const auto& item: mapAssetUnlockExpiry) {

src/txmempool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class CChain;
4343
class CChainState;
4444
extern RecursiveMutex cs_main;
4545

46-
// Forward declation for CBLSLazyPublicKey:
46+
// Forward declaration for CBLSLazyPublicKey:
4747
template<typename T> class CBLSLazyWrapper;
4848
class CBLSPublicKey;
4949
using CBLSLazyPublicKey = CBLSLazyWrapper<CBLSPublicKey>;

test/functional/rpc_whitelist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def rpccall(node, user, method):
2424
conn.connect()
2525

2626
# composite commands are presented without space in whitelist
27-
# but space can't be ommitted when using CLI/http rpc
27+
# but space can't be omitted when using CLI/http rpc
2828
# for sack of test, substitute missing space for quorum composite command
2929
params = []
3030
if re.match(r"^quorum[^ ]", method):

test/functional/test_framework/blocktools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def create_block(hashprev=None, coinbase=None, ntime=None, *, version=None, tmpl
7575
block.calc_sha256()
7676
return block
7777

78-
# TODO: imlement MN_RR support here or remove it
78+
# TODO: implement MN_RR support here or remove it
7979
def create_block_with_mnpayments(mninfo, node, vtx=None, mn_payee=None, mn_amount=None):
8080
if vtx is None:
8181
vtx = []

0 commit comments

Comments
 (0)