Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GPoS] VS topdown election algorithm #66

Merged
merged 5 commits into from
Mar 11, 2020
Merged

[GPoS] VS topdown election algorithm #66

merged 5 commits into from
Mar 11, 2020

Conversation

badkk
Copy link
Contributor

@badkk badkk commented Mar 11, 2020

resolves #62

Unit tests changing includes:

  1. phragmen_* -> topdown_*;
  2. change nominators' voting strategy(equalization including candidates);

Covered black-box test cases

  1. stake_limit should always be updated every new_era;
  2. When the value of stake limit is 0, the validator identity needs to be removed #59 ;
  3. Validatos without workload won't be remove cause phragmen mechanism #55 ;

@badkk badkk merged commit 360f1d3 into master Mar 11, 2020
@badkk badkk added the A0-breakconsensus PR which break the consensus, make blocking error label Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0-breakconsensus PR which break the consensus, make blocking error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[GPoS] Validator set election algorithm
3 participants