entropy_protocol::execute_protocol

Function execute_protocol_generic

Source
pub async fn execute_protocol_generic<Res: ProtocolResult>(
    chans: Channels,
    session: Session<Res, Signature, PairWrapper, PartyId>,
    session_id_hash: [u8; 32],
) -> Result<(Res::Success, Channels), GenericProtocolError<Res>>