algorithm_machines

Function algorithm_machines 

Source
pub fn algorithm_machines<R: RngCore, C: Curve, A: Clone + 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.