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