[][src]Function sp_io::crypto::ed25519_batch_verify

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

Register a ed25519 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.