-
Notifications
You must be signed in to change notification settings - Fork 792
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
Require 2 conditions to confirm election #1157
Conversation
Both sum >= node.config.online_weight_minimum & have_quorum () required To prevent possible situations with confirmed election without calling block_processor.force or block_processor.force without confirmed election
Blocks need to be able to be forced out before quorum is reached otherwise consensus could deadlock. |
For forcing blocks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks !
Move tally-sum-to-online-stake comparison inside the `have_quorum()` function
Ensure sum of all votes is greater than the online minimum before attempting to get confirmation on a block |
Both sum >= node.config.online_weight_minimum & have_quorum () required
To prevent possible situations with confirmed election without calling block_processor.force or block_processor.force without confirmed election