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