Enum tendermint::abci::types::EvidenceKind
source[−]#[repr(i32)]
pub enum EvidenceKind {
Unknown,
DuplicateVote,
LightClientAttack,
}
Expand description
The possible kinds of Evidence
.
Note: the
ABCI documentation
calls this EvidenceType
, but we follow the Rust convention and name it EvidenceKind
to avoid confusion with Rust types.
Variants
Unknown
Unknown evidence type (proto default value).
DuplicateVote
Evidence that the validator voted for two different blocks in the same round of the same height.
LightClientAttack
Evidence that a validator attacked a light client.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EvidenceKind
impl Send for EvidenceKind
impl Sync for EvidenceKind
impl Unpin for EvidenceKind
impl UnwindSafe for EvidenceKind
Blanket Implementations
Mutably borrows from an owned value. Read more