Struct finality_grandpa::Equivocation[][src]

pub struct Equivocation<Id, V, S> {
    pub round_number: u64,
    pub identity: Id,
    pub first: (V, S),
    pub second: (V, S),
}

An equivocation (double-vote) in a given round.

Fields

The round number equivocated in.

The identity of the equivocator.

The first vote in the equivocation.

The second vote in the equivocation.

Trait Implementations

impl<Id: Debug, V: Debug, S: Debug> Debug for Equivocation<Id, V, S>
[src]

Formats the value using the given formatter. Read more

impl<Id: Clone, V: Clone, S: Clone> Clone for Equivocation<Id, V, S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Id: PartialEq, V: PartialEq, S: PartialEq> PartialEq for Equivocation<Id, V, S>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<Id, V, S> Send for Equivocation<Id, V, S> where
    Id: Send,
    S: Send,
    V: Send

impl<Id, V, S> Sync for Equivocation<Id, V, S> where
    Id: Sync,
    S: Sync,
    V: Sync