/// Receivers validate the dealings and combine them into a single
/// transcript
Receivers validate the dealings and combine them into a single
transcript
Receivers validate the dealings and combine them into a single transcript
pub fn from_state_with_verified_dealings(state: StateWithVerifiedDealings) -> Self {
        let verified_dealings = state.verified_dealings();
        let StateWithVerifiedDealings {
            network, config, ..
        } = state;
        let transcript = Self::create_transcript(
            config.algorithm_id,
            config.threshold.get(),
            config.receivers.count(),
            verified_dealings,
            config
                .resharing_transcript
                .as_ref()
                .map(CspPublicCoefficients::from),
        )
        .expect("Failed to create resharing transcript");
        StateWithTranscript {
            network,
            config,
            transcript,
        }
    }
pub fn from_state_with_verified_dealings ( state : StateWithVerifiedDealings ) -> Self { let verified_dealings = state . verified_dealings ( ) ; let StateWithVerifiedDealings { network , config , .. } = state ; let transcript = Self :: create_transcript ( config . algorithm_id , config . threshold . get ( ) , config . receivers . count ( ) , verified_dealings , config . resharing_transcript . as_ref ( ) . map ( CspPublicCoefficients :: from ) , ) . expect ( " " ) ; StateWithTranscript { network , config , transcript , } }
Receivers validate the dealings and combine them into a single
transcript
Receivers validate the dealings and combine them into a single transcript
state
StateWithVerifiedDealings