forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support cross-epoch leader reputation (aptos-labs#2603)
Description Instead of restarting history on every epoch, we stop special treating epoch boundary, and look at the window size history. In order to do so, we need to know historical validator sets, to understand indices in the arrays, and that is the main complexity in this diff Also removing ActiveInactive leader reputation heuristic, as it is unnecessary and replaced by the ProposerAndVoter heuristic. (we kept the old one for the rollout of ProposerAndVoter, in case we need to fall back, time to clean it up) Test Plan leader_reputation and aptos_cli.test_join_and_leave_validator tests
- Loading branch information
1 parent
72d8186
commit 515e072
Showing
8 changed files
with
437 additions
and
351 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.