aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLőrinc <pap.lorinc@gmail.com>2024-08-22 22:42:53 +0200
committerLőrinc <pap.lorinc@gmail.com>2024-08-28 18:42:10 +0200
commitf9a08f35a537fd3a61a3898ff1f0b30d81e64afe (patch)
treeab7dda263bc49aed3bf178efaa820a116aeb2a23 /src
parent4ee1940e849efe8fb1510b11d78399231df4b578 (diff)
downloadbitcoin-f9a08f35a537fd3a61a3898ff1f0b30d81e64afe.tar.xz
doc: fix a few simple codespell warnings
Diffstat (limited to 'src')
-rw-r--r--src/consensus/params.h2
-rw-r--r--src/test/util/cluster_linearize.h2
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;