Expand description
The module that hosts all the FRAME types needed to add this pallet to a runtime.
Re-exports
pub use __tt_error_token_1 as tt_error_token;
pub use __tt_default_parts_7 as tt_default_parts;
Structs
- The pallet implementing the on-chain logic.
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.
- The event emitted by this pallet.
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.
- ModuleDeprecatedType alias to
Pallet
, to be used byconstruct_runtime
. - Current best solution, signed or unsigned, queued to be returned upon
elect
. - Internal counter for the number of rounds.
- A sorted, bounded vector of
(score, block_number, index)
, where eachindex
points to a value inSignedSubmissions
. - The next index to be assigned to an incoming signed submission.
- Unchecked, signed solutions.
- Snapshot data of the round.
- The metadata of the
RoundSnapshot