polysig icon indicating copy to clipboard operation
polysig copied to clipboard

Improve CGGMP KeyInitAck handling

Open tmpfs opened this issue 1 year ago • 0 comments

Performing DKG when t < n involves two phases.

  1. Key init t
  2. Key resharing n

In order for participants that are not part of the key init phase to start the key resharing phase in sync we send a KeyInitAck to all other participants once a participant finishes the key init phase.

There is a possible edge case for key init participants that they might receive an ACK before they have finished processing all the messages for the driver, in which case they would likely error with a deserialization error in the Bridge handling code.

We need to make ACK dispatching and receiving more robust.

tmpfs avatar Jul 09 '24 04:07 tmpfs