Type Alias Invulnerables

Source
pub type Invulnerables<T: Config> = StorageValue<_GeneratedPrefixForStorageInvulnerables<T>, BoundedVec<T::AccountId, T::MaxInvulnerables>, ValueQuery>;
Expand description

Any validators that may never be slashed or forcibly kicked. It’s a Vec since they’re easy to initialize and the performance hit is minimal (we expect no more than four invulnerables) and restricted to testnets.

Storage type is StorageValue with value type BoundedVec < T :: AccountId, T :: MaxInvulnerables >.

Aliased Type§

pub struct Invulnerables<T: Config>(/* private fields */);