Module pallet_scored_pool::source ·
Auto-generated docs-only module listing all defined storage types for this pallet. Note that members of this module cannot be used directly and are only provided for documentation purposes.
- A Map of the candidates. The information in this Map is redundant to the information in the
Pool. But the Map enables us to easily check if a candidate is already in the pool, without having to iterate over the entire pool (the
Poolis not sorted by
T::AccountId, but by
- Size of the
- The current membership, stored as an ordered Vec.
- The current pool of candidates, stored as an ordered Bounded Vec (ordered descending by score,
Nonelast, highest first).