Function sp_io::crypto::ecdsa_batch_verify
source · pub fn ecdsa_batch_verify(sig: &Signature, msg: &[u8], pub_key: &Public) -> bool
Expand description
Register a ecdsa
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 immediatley.
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.