You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement random leader election proportional to the Validator's total stake that is not susceptible to grinding attacks, while also productionizing the leader election process.
jessicadaugherty
changed the title
[Consensus] Leader Election - Validators Voting Power Proportional to stake_tokens/total_stake_tokens
[Consensus] Proper Leader Election
Feb 10, 2023
Objective
Implement random leader election proportional to the Validator's total stake that is not susceptible to grinding attacks, while also productionizing the leader election process.
Origin Document
The algorithm for HotPOKT leader election algorithm can be found in the consensus specification. It is based on
Section 5.1
in the Algorand whitepaper.The leader election package in this repository implements most of the core business logic as a separate library to enable this.
The current leader election algorithm uses round robin defined in
consensus/helpers.go
:Goals
Deliverable
leader_election
library in place of the current "round robin" leader election processgrep -rl "TODO" ./consensus/leader_election
and:Non-goals / Non-deliverables
General issue deliverables
Testing Methodology
make test_vrf
# Update if neededmake test_sortition
# Update if neededmake test_all
LocalNet
is still functioning correctly by following the instructions at docs/development/README.mdCreator: @jessicadaugherty
Co-Owners: @Olshansk
The text was updated successfully, but these errors were encountered: