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§
- Attested
Candidate  - An attested-to candidate.
 - Candidate
Data  - Stores votes and data about a candidate.
 - Drain
Misbehaviors  - Signed
Statement  - A signed statement.
 - Summary
 - A summary of import of a statement.
 - Table
 - Stores votes
 - Unauthorized
Statement  - Misbehavior: submitted statement for wrong group.
 
Enums§
- Double
Sign  - Misbehavior: multiple signatures on same statement.
 - Misbehavior
 - Different kinds of misbehavior. All of these kinds of malicious misbehavior are easily provable and extremely disincentivized.
 - Statement
 - Statements circulated among peers.
 - Validity
Attestation  - A validity attestation.
 - Validity
Double Vote  - Misbehavior: voting more than one way on candidate validity.
 
Traits§
- Context
 - Context for the statement table.
 
Type Aliases§
- Import
Result  - Type alias for the result of a statement import.
 - Misbehavior
For  - Type alias for misbehavior corresponding to context type.