Randomness in Avalanche Consensus #1548
Replies: 2 comments 9 replies
-
Hey @zjasper666 thanks for moving the question here. You can find the documentation in the ProposerVM README here: https://github.com/ava-labs/avalanchego/blob/master/vms/proposervm/README.md#snowman-proposers-selection-mechanism Let me know if you have any further questions on it |
Beta Was this translation helpful? Give feedback.
-
Thanks @aaronbuchwald. Based on the documentation of this README:
the seed and the selection of validators are predictable beforehand. Does that cause some unfairness? For example, a user can know which validators will be proposers in the next block and bribe them. Or a validator can change its nodeID to let itself have more chances to be selected as proposers in the next several blocks. Just my two cents: using the block hash will be a better (not perfect) solution. A more complicated solution will be using a VRF like what Ethereum does. Here's some reference for randomness: |
Beta Was this translation helpful? Give feedback.
-
I know in snowman++, a leader is chosen randomly every epoch. How is the leader chosen? How does Avalanche consensus generate the random beacon for randomly selecting the leader and other purposes?
Beta Was this translation helpful? Give feedback.
All reactions