more accurate representation about bft fault number and quorum#1
Merged
keefel merged 1 commit intokeefel:devfrom Feb 22, 2023
NathanBSC:dev
Merged
more accurate representation about bft fault number and quorum#1keefel merged 1 commit intokeefel:devfrom NathanBSC:dev
keefel merged 1 commit intokeefel:devfrom
NathanBSC:dev
Conversation
keefel
approved these changes
Feb 22, 2023
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Rational:
in BFT consensus, when v = 3f+1, system can tolerate f evil validators, and quorum is 2f+1
but when n%3 != 1,
f should be less than 1/3v, meaning 1/3v is not included even when it's a integer
so 1/3v or more evil validators can destroy the system
q should be more than 2/3v and 2/3v is included when it's a integer,
so we can express q as “2/3v or more” for more accuration
when v = 21, quorum is 2/3v =14, we use it to replace 15