pub trait ValidatorSetWithIdentification<AccountId>: ValidatorSet<AccountId> {
type Identification: Parameter;
type IdentificationOf: Convert<Self::ValidatorId, Option<Self::Identification>>;
}
Expand description
ValidatorSet
combined with an identification.
Required Associated Types§
sourcetype Identification: Parameter
type Identification: Parameter
Full identification of ValidatorId
.
sourcetype IdentificationOf: Convert<Self::ValidatorId, Option<Self::Identification>>
type IdentificationOf: Convert<Self::ValidatorId, Option<Self::Identification>>
A type for converting ValidatorId
to Identification
.