[−][src]Function sp_io::crypto::ed25519_verify
pub fn ed25519_verify(sig: &Signature, msg: &[u8], pub_key: &Public) -> bool
Verify ed25519
signature.
Returns true
when the verification is either successful or batched.
If no batching verification extension registered, this will return the result
of verification immediately. If batching verification extension is registered
caller should call crypto::finish_batch_verify
to actualy check all submitted
signatures.