Skip to main content

setup_verifying

Function setup_verifying 

Source
pub fn setup_verifying<Coordinator: CoordinatorTrait, SignerType: SignerTrait>(
    num_signers: u32,
    keys_per_signer: u32,
) -> (Vec<Coordinator>, Vec<Signer<SignerType>>)
Expand description

Set up coordinators and signers with packet signature verification on.

Verification needs a coordinator public key as well, so callers still have to set that; this only decides the flag at construction time, so that no mutable accessor is needed afterwards.