referrerpolicy=no-referrer-when-downgrade
sp_consensus_beefy::ecdsa_crypto

Type Alias AuthorityId

Source
pub type AuthorityId = Public;
Expand description

Identity of a BEEFY authority using ECDSA as its crypto.

Aliased Type§

struct AuthorityId(/* private fields */);

Trait Implementations§

Source§

impl AuthorityIdBound for AuthorityId

Source§

type BoundedSignature = Signature

Necessary bounds on the Signature associated with the AuthorityId
Source§

impl<MsgHash: Hash> BeefyAuthorityId<MsgHash> for AuthorityId
where <MsgHash as Hash>::Output: Into<[u8; 32]>,

Source§

fn verify( &self, signature: &<Self as RuntimeAppPublic>::Signature, msg: &[u8], ) -> bool

Verify a signature. Read more