This repository was archived by the owner on Aug 19, 2024. It is now read-only.
Remove weight and gini coefficient during proposer selection#1655
Merged
mckim19 merged 10 commits intoklaytn:devfrom Nov 8, 2022
Merged
Remove weight and gini coefficient during proposer selection#1655mckim19 merged 10 commits intoklaytn:devfrom
mckim19 merged 10 commits intoklaytn:devfrom
Conversation
blukat29
reviewed
Nov 2, 2022
blukat29
reviewed
Nov 2, 2022
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
blukat29
reviewed
Nov 2, 2022
175fa32 to
695920a
Compare
ian0371
reviewed
Nov 3, 2022
9f56fdb to
920eff0
Compare
ian0371
reviewed
Nov 3, 2022
baerae-colin
reviewed
Nov 4, 2022
blukat29
reviewed
Nov 7, 2022
957db6f to
e336679
Compare
blukat29
approved these changes
Nov 8, 2022
yoomee1313
reviewed
Nov 8, 2022
yoomee1313
approved these changes
Nov 8, 2022
This was referenced Sep 13, 2024
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
This PR is for fair proposer selection without weight(staking amount) and gini coefficient.
In v1.10.0, Klaytn want the proposer selection with equal probability.
When a proposer is selected by staking amount, the validator with large amount will have more block proposal opportunities even if the gini coefficient is applied.
So this change neutralizes the effects of weights and Gini coefficients.
Types of changes
Please put an x in the boxes related to your change.
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
$ make test)