pub type DisabledValidators<T> = StorageValue<_GeneratedPrefixForStorageDisabledValidators<T>, Vec<u32>, ValueQuery>;
Expand description

Indices of disabled validators.

The vec is always kept sorted so that we can find whether a given validator is disabled using binary search. It gets cleared when on_session_ending returns a new set of identities.

Storage type is [StorageValue] with value type Vec < u32 >.

Aliased Type§

struct DisabledValidators<T>(PhantomData<(_GeneratedPrefixForStorageDisabledValidators<T>, Vec<u32>, ValueQuery, GetDefault)>);

Fields§

§0: PhantomData<(_GeneratedPrefixForStorageDisabledValidators<T>, Vec<u32>, ValueQuery, GetDefault)>