[][src]Function sp_runtime::testing::sr25519::verify_batch

pub fn verify_batch(
    messages: Vec<&[u8]>,
    signatures: Vec<&Signature>,
    pub_keys: Vec<&Public>
) -> bool

Batch verification.

messages, signatures and pub_keys should all have equal length.

Returns true if all signatures are correct, false otherwise.