Trait BeefyAuthorityId
pub trait BeefyAuthorityId<MsgHash>: RuntimeAppPublicwhere
MsgHash: Hash,{
// Required method
fn verify(&self, signature: &Self::Signature, msg: &[u8]) -> bool;
}
Expand description
Trait representing BEEFY authority id, including custom signature verification.
Accepts custom hashing fn for the message and custom convertor fn for the signer.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.