sp_runtime::testing::sr25519

Type Alias Public

source
pub type Public = CryptoBytes<sp_core::::sr25519::Public::{constant#0}, Sr25519PublicTag>;
Expand description

An Schnorrkel/Ristretto x25519 (“sr25519”) public key.

Aliased Type§

struct Public(pub [u8; 32], _);

Fields§

§0: [u8; 32]

Trait Implementations§

source§

impl IdentifyAccount for Public

source§

type AccountId = CryptoBytes<sp_core::::sr25519::Public::{constant#0}, Sr25519PublicTag>

The account ID that this can be transformed into.
source§

fn into_account(self) -> Self

Transform into an account.
source§

impl TryFrom<MultiSigner> for Public

source§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(m: MultiSigner) -> Result<Self, Self::Error>

Performs the conversion.