Skip to main content

attribute_dkg_failure

Function attribute_dkg_failure 

Source
pub fn attribute_dkg_failure(
    session: &DkgSession,
    expected: &[MemberOrg],
    pops: &[ProofOfPossession],
    commitments: &[NonceCommitment],
    reveals: &[NonceReveal],
    verifier: &dyn SignatureVerifier,
) -> Result<(), AbortAttribution>
Expand description

Attribute a failed DKG: find the first member whose contribution fails (identifiable abort), or attribute a timeout to the members that never contributed.

ยงErrors

Returns a ceremony error carrying the attribution.