Function sp_runtime::testing::sr25519::verify_batch [−][src]
pub fn verify_batch(
messages: Vec<&[u8], Global>,
signatures: Vec<&Signature, Global>,
pub_keys: Vec<&Public, Global>
) -> bool
Expand description
Batch verification.
messages
, signatures
and pub_keys
should all have equal length.
Returns true
if all signatures are correct, false
otherwise.