Function run_dkg

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

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