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

Add VRF, and use VRF for proposer sortition, and random on AEV #3895

Open
wants to merge 61 commits into
base: main
Choose a base branch
from

Conversation

OnedgeLee
Copy link
Contributor

Background

  • Proposer selection is round-robin for now.
  • Proposer selection portion is not proportional to its power, and have to be fixed for DPoS.
  • Unpredictable proposer selection is recommended to prevent attack vector.
  • With VRF, probabilistic power-proportional, unpredictable pseudo-random proposer selection can be accomplished.
  • To generate secure, pseudo-random AEV, PreEvaluationHash is used. But there are chance to manipulate this value, by manipulating block parameters.
  • With VRF, pre-determined pseudo-random seed can be made, and it cannot be manipulated.

Limitation

  • Each validator can obtain expected random seed in advance, and this random seed can be real if validator is selected as a proposer.
  • This can make validator to load transactions on block in selfish manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant