-
Notifications
You must be signed in to change notification settings - Fork 205
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
Optimistic signature aggregation by leader #4123
Optimistic signature aggregation by leader #4123
Conversation
Codecov Report
@@ Coverage Diff @@
## feat/optimise-consensus-sigcheck #4123 +/- ##
===================================================================
Coverage ? 75.83%
===================================================================
Files ? 644
Lines ? 85099
Branches ? 0
===================================================================
Hits ? 64539
Misses ? 15770
Partials ? 4790 Continue to review full report at Codecov.
|
- do not pass multisigner as parameter since it is not needed anymore - no need to verify agg sig when created only with valid sigs
if err != nil { | ||
isSuccessfull = false | ||
|
||
err = sr.SetJobDone(pk, SrSignature, false) |
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.
also the sr.PeerHonestyHandler() should be decreased? maybe twice? It was increased once on the receivedSignature and now it was found it is invalid.
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.
👍 will include in the next PR when slashing will be applied
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.
as discussed, decreased peerHonesty here to be in line with the old setup, since the peerHonesty has been increased optimistically for the malicious signer
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.
will be done on the slashing PR
Optimistic signature aggregation on consensus: