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
DPoS 3.0: Integrate DPoS with ChainedBFT #347
Conversation
data/config/xuper_bft.json
Outdated
] | ||
}, | ||
"bft_config": { | ||
"netMsgChanSize": 1000 |
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.
Maybe it would be better to configure it as a node config.
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.
Removed this field from consensus config
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.
LGTM
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.
LGTM
Description
This PR is to implement DPoS V3.0, which integrate with Chained-BFT to be able to deal with Byzantine Fault Tolerance. The main advantages of DPoS V3.0 are:
Fixes #309
Type of change
Please delete options that are not relevant.
Brief of your solution
By using Chained-BFT(HotStuff), DPoS core peers can collect 2/3 votes on new block in O(n) communication complexity in a chained workflow. So that each block cannot be rollback after 3 blocks' confirmation.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration