Trait frame_system::offchain::SigningTypes
source · 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§
sourcetype Public: Clone + PartialEq + IdentifyAccount<AccountId = Self::AccountId> + Debug + Codec + Ord + TypeInfo
type Public: Clone + PartialEq + IdentifyAccount<AccountId = Self::AccountId> + Debug + Codec + Ord + TypeInfo
A public key that is capable of identifying AccountId
s.
Usually that’s either a raw crypto public key (e.g. sr25519::Public
) or
an aggregate type for multiple crypto public keys, like MultiSigner
.
Object Safety§
This trait is not object safe.