doc: fix a few simple codespell warnings

This commit is contained in:
Lőrinc committed 2024-08-28 18:42:10 +02:00
1 parent 4ee1940e84
commit f9a08f35a5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -109,7 +109,7 @@ struct Params {
uint256 powLimit; uint256 powLimit;
bool fPowAllowMinDifficultyBlocks; 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. * the block storm mitigation.
*/ */
bool enforce_BIP94; bool enforce_BIP94;
+1 -1
View File
@@ -155,7 +155,7 @@ struct DepGraphFormatter
// Ignore transactions which are already known to be ancestors. // Ignore transactions which are already known to be ancestors.
if (depgraph.Descendants(dep_idx).Overlaps(written_parents)) continue; if (depgraph.Descendants(dep_idx).Overlaps(written_parents)) continue;
if (depgraph.Ancestors(idx)[dep_idx]) { 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. // before it.
s << VARINT(diff); s << VARINT(diff);
diff = 0; diff = 0;