Trait common_primitives::node::Verify
pub trait Verify {
type Signer: IdentifyAccount;
// Required method
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§
type Signer: IdentifyAccount
type Signer: IdentifyAccount
Type of the signer.
Required Methods§
Object Safety§
This trait is not object safe.