-
Notifications
You must be signed in to change notification settings - Fork 90
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
dkg: refactor to reliable broadcast #1896
Conversation
) (map[uint32]*frost.Round1Bcast, map[uint32]*sharing.ShamirShare) { | ||
castMap := make(map[uint32]*frost.Round1Bcast) | ||
for key, cast := range castR1 { | ||
if key.ValIdx != vIdx { | ||
continue | ||
} | ||
if key.TargetID != targetID { |
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.
validation moved to when first received over the wire
Co-authored-by: Gianguido Sorà <[email protected]>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1896 +/- ##
=======================================
Coverage 55.68% 55.69%
=======================================
Files 172 172
Lines 22073 22073
=======================================
+ Hits 12292 12294 +2
+ Misses 8207 8205 -2
Partials 1574 1574
... and 3 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
@@ -20,7 +20,7 @@ func TestFrostDKG(t *testing.T) { | |||
|
|||
const ( | |||
nodes = 3 | |||
vals = 2 |
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.
why vals=1?
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.
debugging, thanks will revert
Refactor DKG to use reliable broadcast instead of p2p broadcast.
category: feature
ticket: #1889