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

Same as BoundedSupportsOf but for onchain::Config.