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

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.

Required Associated Types§

source

type Public: Clone + PartialEq + IdentifyAccount<AccountId = Self::AccountId> + Debug + Codec + Ord + TypeInfo

A public key that is capable of identifying 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.

source

type Signature: Clone + PartialEq + Debug + Codec + TypeInfo

A matching Signature type.

Implementors§