entropy_protocol::execute_protocol

Function execute_dkg

Source
pub async fn execute_dkg(
    session_id: SessionId,
    chans: Channels,
    threshold_pair: &Pair,
    threshold_accounts: Vec<AccountId32>,
    threshold: usize,
) -> Result<KeyShareWithAuxInfo, ProtocolExecutionErr>
Expand description

Execute dkg.