Skip to content
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: fix 2 participants #487

Open
conradoplg opened this issue Feb 19, 2025 · 0 comments · May be fixed by #497
Open

dkg: fix 2 participants #487

conradoplg opened this issue Feb 19, 2025 · 0 comments · May be fixed by #497

Comments

@conradoplg
Copy link
Contributor

dkg gets stuck if trying to use 2 participants. Fix it.

(I guess it would even try to work with a single participant, we should return an error in that case)

The log was:

frost-client dkg -d "ZF demo group 2" -s frostd.zfnd.org -S e76d2f673eb91aca53d6054c0f5271c25790cf6c15805ff3324ee2b83ab96c6d,97e89b49517f97972c827c76ca4872eb6341ee5d3b99b0cae9d4b748c12bc67d -t 2 -C redpallas
Logging in...
Creating DKG session...
Getting session info...
Waiting for other participants to send their Round 1 Packages...............
Waiting for other participants to send their broadcasted Round 1 Packages...................................^C

It's very likely that this is related to the broadcast channel, since in some parts it needs to wait for n-2 messages.

@conradoplg conradoplg linked a pull request Feb 25, 2025 that will close this issue
@mpguerra mpguerra moved this to Review/QA in FROST Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Review/QA
Development

Successfully merging a pull request may close this issue.

1 participant