referrerpolicy=no-referrer-when-downgrade

Type Alias polkadot_statement_table::v2::Misbehavior

source ·
pub type Misbehavior = Misbehavior<CommittedCandidateReceiptV2, CandidateHash, ValidatorIndex, ValidatorSignature>;
Expand description

Kinds of misbehavior, along with proof.

Aliased Type§

enum Misbehavior {
    ValidityDoubleVote(ValidityDoubleVote<CommittedCandidateReceiptV2, CandidateHash, Signature>),
    MultipleCandidates(MultipleCandidates<CommittedCandidateReceiptV2, Signature>),
    UnauthorizedStatement(UnauthorizedStatement<CommittedCandidateReceiptV2, CandidateHash, ValidatorIndex, Signature>),
    DoubleSign(DoubleSign<CommittedCandidateReceiptV2, CandidateHash, Signature>),
}

Variants§

§

ValidityDoubleVote(ValidityDoubleVote<CommittedCandidateReceiptV2, CandidateHash, Signature>)

Voted invalid and valid on validity.

§

MultipleCandidates(MultipleCandidates<CommittedCandidateReceiptV2, Signature>)

Submitted multiple candidates.

§

UnauthorizedStatement(UnauthorizedStatement<CommittedCandidateReceiptV2, CandidateHash, ValidatorIndex, Signature>)

Submitted a message that was unauthorized.

§

DoubleSign(DoubleSign<CommittedCandidateReceiptV2, CandidateHash, Signature>)

Submitted two valid signatures for the same message.