run_dkg_g1

Function run_dkg_g1 

Source
pub async fn run_dkg_g1(
    num_peers: NumPeers,
    identity: PeerId,
    connections: &DynP2PConnections<P2PMessage>,
) -> Result<(Vec<G1Projective>, Scalar)>
Expand description

Runs the DKG G1 algorithm with our peers. We do not handle any unexpected messages and all peers are expected to be cooperative.