Expand description
The module that hosts all the FRAME types needed to add this pallet to a runtime.
Structs
Enums
Contains one variant per dispatchable that can be called by an extrinsic.
Error of the pallet that can be returned in response to dispatches.
Traits
Configuration trait of this pallet.
Functions
Type Definitions
Current phase.
Desired number of targets to elect for this round.
The minimum score that each ‘untrusted’ solution must attain in order to be considered
feasible.
ModuleDeprecated
Type alias to
Pallet
, to be used by construct_runtime
.Current best solution, signed or unsigned, queued to be returned upon
elect
.Internal counter for the number of rounds.
A sorted, bounded set of
(score, index)
, where each index
points to a value in
SignedSubmissions
.The next index to be assigned to an incoming signed submission.
Unchecked, signed solutions.
Snapshot data of the round.
The metadata of the
RoundSnapshot