pub async fn run_dkg<G: DkgGroup>(
num_peers: NumPeers,
identity: PeerId,
generator: G,
connections: &DynP2PConnections<DkgPeerMessage>,
) -> Result<(Vec<G>, Scalar)>where
DkgMessage<G>: ISupportedDkgMessage,
Expand description
Runs the DKG algorithms with our peers. We do not handle any unexpected messages and all peers are expected to be cooperative.