From f9a08f35a537fd3a61a3898ff1f0b30d81e64afe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C5=91rinc?= Date: Thu, 22 Aug 2024 22:42:53 +0200 Subject: [PATCH 1/2] doc: fix a few simple codespell warnings --- src/consensus/params.h | 2 +- src/test/util/cluster_linearize.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/consensus/params.h b/src/consensus/params.h index eadfe2ba90..dd29b9408e 100644 --- a/src/consensus/params.h +++ b/src/consensus/params.h @@ -109,7 +109,7 @@ struct Params { uint256 powLimit; bool fPowAllowMinDifficultyBlocks; /** - * Enfore BIP94 timewarp attack mitigation. On testnet4 this also enforces + * Enforce BIP94 timewarp attack mitigation. On testnet4 this also enforces * the block storm mitigation. */ bool enforce_BIP94; diff --git a/src/test/util/cluster_linearize.h b/src/test/util/cluster_linearize.h index 508a08133c..9477d2ed41 100644 --- a/src/test/util/cluster_linearize.h +++ b/src/test/util/cluster_linearize.h @@ -155,7 +155,7 @@ struct DepGraphFormatter // Ignore transactions which are already known to be ancestors. if (depgraph.Descendants(dep_idx).Overlaps(written_parents)) continue; if (depgraph.Ancestors(idx)[dep_idx]) { - // When an actual parent is encounted, encode how many non-parents were skipped + // When an actual parent is encountered, encode how many non-parents were skipped // before it. s << VARINT(diff); diff = 0; From 837fbca03602982d9f1055ac798711241ea3d0a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C5=91rinc?= Date: Wed, 28 Aug 2024 18:40:37 +0200 Subject: [PATCH 2/2] Update spelling.ignore-words Removed ba, inflight, keypair and warmup. Added incomin found in optionsdialog.ui:345 and re-use found in utxo_snapshot.cpp --- test/lint/spelling.ignore-words.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/lint/spelling.ignore-words.txt b/test/lint/spelling.ignore-words.txt index ef7d906d78..ccf2e6964b 100644 --- a/test/lint/spelling.ignore-words.txt +++ b/test/lint/spelling.ignore-words.txt @@ -1,7 +1,6 @@ afile amountIn asend -ba blockin bu cachable @@ -13,14 +12,14 @@ fo fpr hashIn hights -inflight +incomin invokable -keypair lief mor nd nin outIn +re-use requestor ser siz @@ -29,5 +28,4 @@ unparseable unser useable viewIn -warmup -wit +wit \ No newline at end of file