[][src]Struct abci::types::Evidence

pub struct Evidence {
    pub evidence_type: String,
    pub validator: Option<Validator>,
    pub height: i64,
    pub time: Option<Duration>,
    pub total_voting_power: i64,
}

Fields

evidence_type: String

Type of the evidence. A hierarchical path like "duplicate/vote".

validator: Option<Validator>

The offending validator

height: i64

Height when the offense was committed

time: Option<Duration>

Time of the block at height Height. It is the proposer's local time when block was created (duration since epoch)

total_voting_power: i64

Total voting power of the validator set at height

Trait Implementations

impl Debug for Evidence[src]

impl Default for Evidence[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.