Skip to content

Commit

Permalink
Merge bitcoin/bitcoin#30700: doc: fix CI codespell warnings
Browse files Browse the repository at this point in the history
837fbca Update spelling.ignore-words (Lőrinc)
f9a08f3 doc: fix a few simple codespell warnings (Lőrinc)

Pull request description:

  Can be checked locally by running `test/lint/lint-spelling.py`

ACKs for top commit:
  maflcko:
    lgtm ACK 837fbca
  jonatack:
    ACK 837fbca

Tree-SHA512: a83c78b9de4085749b916ffd255a9e72ffed06f09736ccff2dd4a4436d1fae7b22b1fb6073b0ce59ecb5bfdef4e43271494dadf3824647a42a4f26c26f092364
  • Loading branch information
fanquake committed Aug 29, 2024
2 parents 4ae3be7 + 837fbca commit 0e0de94
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/consensus/params.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/test/util/cluster_linearize.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 3 additions & 5 deletions test/lint/spelling.ignore-words.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
afile
amountIn
asend
ba
blockin
bu
cachable
Expand All @@ -13,14 +12,14 @@ fo
fpr
hashIn
hights
inflight
incomin
invokable
keypair
lief
mor
nd
nin
outIn
re-use
requestor
ser
siz
Expand All @@ -29,5 +28,4 @@ unparseable
unser
useable
viewIn
warmup
wit
wit

0 comments on commit 0e0de94

Please sign in to comment.