Trait frame_system::offchain::SigningTypes[][src]

pub trait SigningTypes: Trait {
    type Public: Clone + PartialEq + IdentifyAccount<AccountId = Self::AccountId> + Debug + Codec + Ord;
    type Signature: Clone + PartialEq + Debug + Codec;
}

A wrapper around the types which are used for signing.

This trait adds extra bounds to Public and Signature types of the runtime that are necessary to use these types for signing.

TODO [#5663] Could this be just T::Signature as traits::Verify>::Signer? Seems that this may cause issues with bounds resolution.

Associated Types

type Public: Clone + PartialEq + IdentifyAccount<AccountId = Self::AccountId> + Debug + Codec + Ord[src]

A public key that is capable of identifing AccountIds.

Usually that’s either a raw crypto public key (e.g. sr25519::Public) or an aggregate type for multiple crypto public keys, like MulitSigner.

type Signature: Clone + PartialEq + Debug + Codec[src]

A matching Signature type.

Loading content...

Implementors

Loading content...