Trait sp_runtime::traits::Verify
source · [−]pub trait Verify {
type Signer: IdentifyAccount;
fn verify<L: Lazy<[u8]>>(
&self,
msg: L,
signer: &<Self::Signer as IdentifyAccount>::AccountId
) -> bool;
}
Expand description
Means of signature verification.
Associated Types
type Signer: IdentifyAccount
type Signer: IdentifyAccount
Type of the signer.