Type Alias polkadot_statement_table::v2::Misbehavior
source · pub type Misbehavior = Misbehavior<CommittedCandidateReceipt, CandidateHash, ValidatorIndex, ValidatorSignature>;
Expand description
Kinds of misbehavior, along with proof.
Aliased Type§
enum Misbehavior {
ValidityDoubleVote(ValidityDoubleVote<CommittedCandidateReceipt, CandidateHash, Signature>),
MultipleCandidates(MultipleCandidates<CommittedCandidateReceipt, Signature>),
UnauthorizedStatement(UnauthorizedStatement<CommittedCandidateReceipt, CandidateHash, ValidatorIndex, Signature>),
DoubleSign(DoubleSign<CommittedCandidateReceipt, CandidateHash, Signature>),
}
Variants§
ValidityDoubleVote(ValidityDoubleVote<CommittedCandidateReceipt, CandidateHash, Signature>)
Voted invalid and valid on validity.
MultipleCandidates(MultipleCandidates<CommittedCandidateReceipt, Signature>)
Submitted multiple candidates.
Submitted a message that was unauthorized.
DoubleSign(DoubleSign<CommittedCandidateReceipt, CandidateHash, Signature>)
Submitted two valid signatures for the same message.