Module frame_election_provider_support::onchain
source · Expand description
An implementation of ElectionProvider
that uses an NposSolver
to do the election. As the
name suggests, this is meant to be used onchain. Given how heavy the calculations are, please be
careful when using it onchain.
Structs
- A simple on-chain implementation of the election provider trait.
Enums
- Errors of the on-chain election.
Traits
- Configuration trait for an onchain election execution.
Type Definitions
- BoundedExecutionDeprecated
- Same as
BoundedSupportsOf
but foronchain::Config
.