pub async fn run_dkg_g2(
num_peers: NumPeers,
identity: PeerId,
connections: &DynP2PConnections<P2PMessage>,
) -> Result<(Vec<G2Projective>, Scalar)>Expand description
Runs the DKG G2 algorithm with our peers. We do not handle any unexpected messages and all peers are expected to be cooperative.