Type Alias sp_consensus_babe::EquivocationProof

source ·
pub type EquivocationProof<H> = EquivocationProof<H, AuthorityId>;
Expand description

An equivocation proof for multiple block authorships on the same slot (i.e. double vote).

Aliased Type§

struct EquivocationProof<H> {
    pub offender: Public,
    pub slot: Slot,
    pub first_header: H,
    pub second_header: H,
}

Fields§

§offender: Public

Returns the authority id of the equivocator.

§slot: Slot

The slot at which the equivocation happened.

§first_header: H

The first header involved in the equivocation.

§second_header: H

The second header involved in the equivocation.