Module polkadot_statement_table::generic
source · Expand description
The statement table: generic implementation.
This stores messages other authorities issue about candidates.
These messages are used to create a proposal submitted to a BFT consensus process.
Each parachain is associated with a committee of authorities, who issue statements indicating whether the candidate is valid or invalid. Once a threshold of the committee has signed validity statements, the candidate may be marked includable.
Structs
- An attested-to candidate.
- Stores votes and data about a candidate.
- Misbehavior: declaring multiple candidates.
- A signed statement.
- A summary of import of a statement.
- Stores votes
- Misbehavior: submitted statement for wrong group.
Enums
- Misbehavior: multiple signatures on same statement.
- Different kinds of misbehavior. All of these kinds of malicious misbehavior are easily provable and extremely disincentivized.
- Statements circulated among peers.
- A validity attestation.
- Misbehavior: voting more than one way on candidate validity.
Traits
- Context for the statement table.
Type Definitions
- Type alias for the result of a statement import.
- Type alias for misbehavior corresponding to context type.