Type Alias EcdsaValidatorId
pub type EcdsaValidatorId = Public;
Expand description
Identity of a BEEFY authority using ECDSA as its crypto.
Aliased Type§
struct EcdsaValidatorId(/* private fields */);
Implementations
§impl Public
impl Public
pub fn into_inner(
self,
) -> CryptoBytes<sp_core::::ecdsa::Public::{constant#0}, (PublicTag, EcdsaTag)>
pub fn into_inner( self, ) -> CryptoBytes<sp_core::::ecdsa::Public::{constant#0}, (PublicTag, EcdsaTag)>
Convert into wrapped generic public key type.
Trait Implementations
§impl AppCrypto for Public
impl AppCrypto for Public
§impl AppPublic for Public
impl AppPublic for Public
§impl AuthorityIdBound for Public
impl AuthorityIdBound for Public
§type BoundedSignature = Signature
type BoundedSignature = Signature
Necessary bounds on the Signature associated with the AuthorityId
§impl<MsgHash> BeefyAuthorityId<MsgHash> for Public
impl<MsgHash> BeefyAuthorityId<MsgHash> for Public
§impl ByteArray for Public
impl ByteArray for Public
§fn from_slice(data: &[u8]) -> Result<Self, ()>
fn from_slice(data: &[u8]) -> Result<Self, ()>
A new instance from the given slice that should be
Self::LEN
bytes long.§fn to_raw_vec(&self) -> Vec<u8> ⓘ
fn to_raw_vec(&self) -> Vec<u8> ⓘ
Return a
Vec<u8>
filled with raw data.§impl Decode for Public
impl Decode for Public
§fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<Public, Error>where
__CodecInputEdqy: Input,
fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<Public, Error>where
__CodecInputEdqy: Input,
Attempt to deserialise the value from input.
§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§fn skip<I>(input: &mut I) -> Result<(), Error>where
I: Input,
fn skip<I>(input: &mut I) -> Result<(), Error>where
I: Input,
Attempt to skip the encoded value from input. Read more
§fn encoded_fixed_size() -> Option<usize>
fn encoded_fixed_size() -> Option<usize>
Returns the fixed encoded size of the type. Read more
§impl Derive for Public
impl Derive for Public
§impl<'de> Deserialize<'de> for Public
impl<'de> Deserialize<'de> for Public
§fn deserialize<D>(
deserializer: D,
) -> Result<Public, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Public, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Encode for Public
impl Encode for Public
§fn encode_to<__CodecOutputEdqy>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy,
)where
__CodecOutputEdqy: Output + ?Sized,
fn encode_to<__CodecOutputEdqy>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy,
)where
__CodecOutputEdqy: Output + ?Sized,
Convert self to a slice and append it to the destination.
§fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>(
&self,
f: __CodecUsingEncodedCallback,
) -> __CodecOutputReturn
fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
Convert self to a slice and then invoke the given closure with it.
§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
§impl MaxEncodedLen for Public
impl MaxEncodedLen for Public
§fn max_encoded_len() -> usize
fn max_encoded_len() -> usize
Upper bound, in bytes, of the maximum encoded size of this item.
§impl Ord for Public
impl Ord for Public
§impl PartialOrd for Public
impl PartialOrd for Public
§impl Serialize for Public
impl Serialize for Public
§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl TypeInfo for Public
impl TypeInfo for Public
§impl Wraps for Public
impl Wraps for Public
§type Inner = CryptoBytes<sp_core::::ecdsa::Public::{constant#0}, (PublicTag, EcdsaTag)>
type Inner = CryptoBytes<sp_core::::ecdsa::Public::{constant#0}, (PublicTag, EcdsaTag)>
The inner type it is wrapping.
§fn as_inner_ref(&self) -> &Self::Inner
fn as_inner_ref(&self) -> &Self::Inner
Get a reference to the inner type that is wrapped.