pub enum DkgAction {
Commit(VerifiableSecretSharingCommitment, Signature),
Send(Vec<(Identifier, DkgMessage)>),
Complete(KeyPackage, PublicKeyPackage, VerifiableSecretSharingCommitment),
Failure(Error),
}
Expand description
Defines different actions that can occur during the DKG process:
Variants§
Commit(VerifiableSecretSharingCommitment, Signature)
Send a commitment with a proof.
Send(Vec<(Identifier, DkgMessage)>)
Send messages to other participants.
Complete(KeyPackage, PublicKeyPackage, VerifiableSecretSharingCommitment)
Completion of the DKG process with a key package and commitment.
Failure(Error)
Represents a failure in the process.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DkgAction
impl RefUnwindSafe for DkgAction
impl Send for DkgAction
impl Sync for DkgAction
impl Unpin for DkgAction
impl UnwindSafe for DkgAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more