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

Core: Revert to using ceil for 2/3 vote #134

Merged
merged 1 commit into from
Mar 3, 2019

Conversation

orogvany
Copy link
Collaborator

@orogvany orogvany commented Feb 23, 2019

Maybe @cryptokat can clarify, but doing a round here for initial blocks
(2 validators), will allow for both to propose and accept disparate
blocks.

I'm not sure case where round was necessary over ceil, if that is the case
we can just add a check where validators == 2 to fix.

Note: merging this into RC3 then down to various PRs will fix CI that is failing.

Maybe @cryptokat can clarify, but doing a round here for initial blocks
(2 validators), will allow for both to propose and accept disparate
blocks.

I'm not sure case where round was necessary over ceil, if that is the case
we can just add a check where validators == 2 to fix.
@orogvany orogvany requested a review from cryptokat February 23, 2019 22:40
@orogvany orogvany merged commit 3bdacf9 into semuxproject:RC3 Mar 3, 2019
@orogvany orogvany deleted the rounding_error branch March 3, 2019 02:02
@semuxgo semuxgo mentioned this pull request Apr 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant