-
Notifications
You must be signed in to change notification settings - Fork 58
feat(iota-core): Add report validation logic #9362
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
base: protocol-research/feat/score-integration
Are you sure you want to change the base?
feat(iota-core): Add report validation logic #9362
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 6 Skipped Deployments
|
4be1744 to
cc4a0e2
Compare
| if !report.verify(self.committee.num_members()) { | ||
| // Since this verification happens after consensus, all authorities already | ||
| // agreed on the set of messages that would be verified by this method. Then, we | ||
| // can update scores according to the validation result directly, without the |
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.
This comment is a bit long-winded but I think the message is a bit more simple: We have consensus on the inclusion of this misbehavior report in the DAG. Now we just objectively verify and either count it as valid or not.
--- config: gitGraph: {parallelCommits: true, mainBranchName: 'Feature', rotateCommitLabel: true} --- gitGraph commit id: "Initial commit" commit id: "Old Scorer" tag: "PR8530" commit id: "add ChangeEpochV4" tag: "PR9159" commit id: "add MisbehaviorReports" tag: "PR9175" commit id: "add ScoringMetrics" tag: "PR9176" commit id: "add Scorer" tag: "PR9177" commit id: "add ScoringMetricsStore" tag: "PR9178" checkout Feature branch report-validation commit id: "add report validation" branch scoring-function commit id: "add scoring function" branch report-creation commit id: "add report creation" checkout Feature merge report-validation tag: "THIS PR"Description of change
We build on top of the other PRs of this feature branch to enable the misbehavior reports validation logic.
How the change has been tested
Release Notes