Function sp_application_crypto::sr25519::verify_batch
source · 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.