/// Load transcript on each node (if resharing), create all dealings, and build
/// transcript from those dealings.
Load transcript on each node (if resharing), create all dealings, and build
transcript from those dealings.
Load transcript on each node ( if resharing ) create all dealings and build transcript from those dealings .
pub fn run_ni_dkg_and_create_single_transcript(
    ni_dkg_config: &NiDkgConfig,
    crypto_components: &BTreeMap<NodeId, TempCryptoComponent>,
) -> NiDkgTranscript {
    let dealings =
        load_resharing_transcript_if_needed_and_create_dealings(ni_dkg_config, crypto_components);
    let transcript_creator = ni_dkg_config.dealers().get().iter().next().unwrap();
    create_transcript(
        ni_dkg_config,
        crypto_components,
        &dealings,
        *transcript_creator,
    )
}
pub fn run_ni_dkg_and_create_single_transcript ( ni_dkg_config : & NiDkgConfig , crypto_components : & BTreeMap < NodeId , TempCryptoComponent > , ) -> NiDkgTranscript { let dealings = load_resharing_transcript_if_needed_and_create_dealings ( ni_dkg_config , crypto_components ) ; let transcript_creator = ni_dkg_config . dealers ( ) . get ( ) . iter ( ) . next ( ) . unwrap ( ) ; create_transcript ( ni_dkg_config , crypto_components , & dealings , * transcript_creator , ) }
Load transcript on each node (if resharing), create all dealings, and build
transcript from those dealings.
Load transcript on each node ( if resharing ) create all dealings and build transcript from those dealings .
ni_dkg_config
&NiDkgConfig
crypto_components
&BTreeMap<NodeId, TempCryptoComponent>