Skip to content

Commit

Permalink
fix duplicate word in 'Voting Algorithm' section
Browse files Browse the repository at this point in the history
  • Loading branch information
joaolago1113 committed Dec 14, 2023
1 parent 7a7f3c6 commit e5c8dc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/implemented-proposals/tower-bft.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ ancestors.

Each validator maintains a vote tower `T` which follows the rules described above in [Vote Tower](#vote-tower), which is a sequence of blocks it has voted for (initially empty). The variable `l` records the length of the stack. For each entry in the tower, denoted by `B = T(x)` for `x < l` where `B` is the `xth` entry in the tower, we record also a value `confcount(B)`. Define the lock expiration slot `lockexp(B) := slot(B) + 2 ^ confcount(B)`.

The validator `i` runs a voting loop as as follows. Let `B` be the heaviest
The validator `i` runs a voting loop as follows. Let `B` be the heaviest
block returned by the fork choice rule above [Fork Choice](#fork-choice). If `i` has not voted for `B` before, then `i` votes for `B` so long as the following conditions are satisfied:

1. Respecting lockouts: For any block `B′` in the tower that is not an ancestor of `B`, `lockexp(B′) ≤ slot(B)`.
Expand Down

0 comments on commit e5c8dc1

Please sign in to comment.