referrerpolicy=no-referrer-when-downgrade

Module 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§

AttestedCandidate
An attested-to candidate.
CandidateData
Stores votes and data about a candidate.
DrainMisbehaviors
SignedStatement
A signed statement.
Summary
A summary of import of a statement.
Table
Stores votes
UnauthorizedStatement
Misbehavior: submitted statement for wrong group.

Enums§

DoubleSign
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.
ValidityAttestation
A validity attestation.
ValidityDoubleVote
Misbehavior: voting more than one way on candidate validity.

Traits§

Context
Context for the statement table.

Type Aliases§

ImportResult
Type alias for the result of a statement import.
MisbehaviorFor
Type alias for misbehavior corresponding to context type.