Type Alias pallet_collator_selection::pallet::CandidateList
source · pub type CandidateList<T: Config> = StorageValue<_GeneratedPrefixForStorageCandidateList<T>, BoundedVec<CandidateInfo<T::AccountId, <<T as Config>::Currency as Currency<<T as SystemConfig>::AccountId>>::Balance>, T::MaxCandidates>, ValueQuery>;
Expand description
The (community, limited) collation candidates. Candidates
and Invulnerables
should be
mutually exclusive.
This list is sorted in ascending order by deposit and when the deposits are equal, the least recently updated is considered greater.
Storage type is [StorageValue
] with value type BoundedVec < CandidateInfo < T :: AccountId, BalanceOf < T > > , T :: MaxCandidates >
.
Aliased Type§
struct CandidateList<T: Config>(/* private fields */);