You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The charon dkg command hangs if one peer drops out/errors after the waitForPeers step. This is because there are multiple steps where code waits for all peers to broadcast messages. If one peer doesn't, it just blocks and waits forever.
Proposed solution
Implement this TODO in charon/dkg/dkg.go:511:
// TODO(corver): This can be improved by returning a context that is
// cancelled as soon as the connection to a single peer is lost.
The text was updated successfully, but these errors were encountered:
corverroos
changed the title
DKG hangs if one peer drops out
dkg: command hangs if one peer drops out
May 23, 2022
Problem to be solved
The
charon dkg
command hangs if one peer drops out/errors after thewaitForPeers
step. This is because there are multiple steps where code waits for all peers to broadcast messages. If one peer doesn't, it just blocks and waits forever.Proposed solution
Implement this TODO in
charon/dkg/dkg.go:511
:The text was updated successfully, but these errors were encountered: