Function modular_frost::tests::algorithm_machines

source ยท
pub fn algorithm_machines<R: RngCore, C: Curve, A: Algorithm<C>>(
    rng: &mut R,
    algorithm: &A,
    keys: &HashMap<Participant, ThresholdKeys<C>>,
) -> HashMap<Participant, AlgorithmMachine<C, A>>
Available on crate feature tests only.
Expand description

Spawn algorithm machines for a random selection of signers, each executing the given algorithm.