referrerpolicy=no-referrer-when-downgrade

AuthorityId

Type Alias AuthorityId 

Source
pub type AuthorityId = Public;
Expand description

Identity of a BEEFY authority using BLS as its crypto.

Aliased Type§

pub 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 BeefyAuthorityId for AuthorityId

Source§

fn get_all_public_keys_from_store(store: KeystorePtr) -> Vec<impl AsRef<[u8]>>

Get all the public keys of the current type from a provided Keystore.
Source§

fn try_sign_with_store( &self, store: KeystorePtr, msg: &[u8], ) -> Result<Option<impl AsRef<[u8]> + Debug>, Error>

Sign a message using the private key associated to the current public key. Read more
Source§

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

Verify a signature. Read more