pub fn sr25519_batch_verify(sig: &Signature, msg: &[u8], pub_key: &Public) -> bool
Expand description

Register a sr25519 signature for batch verification.

Batch verification must be enabled by calling start_batch_verify. If batch verification is not enabled, the signature will be verified immediately. To get the result of the batch verification, finish_batch_verify needs to be called.

Returns true when the verification is either successful or batched.