Enum tendermint::evidence::Evidence
source[−]pub enum Evidence {
DuplicateVote(Box<DuplicateVoteEvidence>),
ConflictingHeaders(Box<ConflictingHeadersEvidence>),
LightClientAttackEvidence,
}
Expand description
Evidence of malfeasance by validators (i.e. signing conflicting votes).
encoded using an Amino prefix. There is currently only a single type of
evidence: DuplicateVoteEvidence
.
Variants
DuplicateVote(Box<DuplicateVoteEvidence>)
Tuple Fields
Duplicate vote evidence
ConflictingHeaders(Box<ConflictingHeadersEvidence>)
Tuple Fields
Conflicting headers evidence - Todo: this is not implemented in protobuf, it’s ignored now
LightClientAttackEvidence
LightClient attack evidence - Todo: Implement details
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Evidence
impl UnwindSafe for Evidence
Blanket Implementations
Mutably borrows from an owned value. Read more