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>),
UnauthorizedStatement(UnauthorizedStatement<CommittedCandidateReceiptV2, CandidateHash, ValidatorIndex, Signature>),
DoubleSign(DoubleSign<CommittedCandidateReceiptV2, CandidateHash, Signature>),
}
Variants§
ValidityDoubleVote(ValidityDoubleVote<CommittedCandidateReceiptV2, CandidateHash, Signature>)
Voted invalid and valid on validity.
Submitted a message that was unauthorized.
DoubleSign(DoubleSign<CommittedCandidateReceiptV2, CandidateHash, Signature>)
Submitted two valid signatures for the same message.