/// Creates a state with a transcript
/// Verifies that the config produces functional threshold signatures
Creates a state with a transcript
Verifies that the config produces functional threshold signatures
Creates a state with a transcript Verifies that the config produces functional threshold signatures
fn state_with_transcript(config: &MockDkgConfig, network: MockNetwork) -> StateWithTranscript {
    let state = StateWithConfig {
        network,
        config: config.clone(),
    };
    let state = StateWithDealings::from_state_with_config(state).expect("Dealing failed");
    let state = StateWithVerifiedDealings::from_state_with_dealings(state);
    let mut state = StateWithTranscript::from_state_with_verified_dealings(state);
    state.load_keys();
    state
}
fn state_with_transcript ( config : & MockDkgConfig , network : MockNetwork ) -> StateWithTranscript { let state = StateWithConfig { network , config : config . clone ( ) , } ; let state = StateWithDealings :: from_state_with_config ( state ) . expect ( " " ) ; let state = StateWithVerifiedDealings :: from_state_with_dealings ( state ) ; let mut state = StateWithTranscript :: from_state_with_verified_dealings ( state ) ; state . load_keys ( ) ; state }
Creates a state with a transcript
Verifies that the config produces functional threshold signatures
Creates a state with a transcript Verifies that the config produces functional threshold signatures
config
&MockDkgConfig
network
MockNetwork