referrerpolicy=no-referrer-when-downgrade

Type Alias sc_consensus_grandpa::Message

pub type Message<Header> = Message<<Header as Header>::Hash, <Header as Header>::Number>;
Expand description

A GRANDPA message for a substrate chain.

Aliased Type§

enum Message<Header> {
    Prevote(Prevote<<Header as Header>::Hash, <Header as Header>::Number>),
    Precommit(Precommit<<Header as Header>::Hash, <Header as Header>::Number>),
    PrimaryPropose(PrimaryPropose<<Header as Header>::Hash, <Header as Header>::Number>),
}

Variants§

§

Prevote(Prevote<<Header as Header>::Hash, <Header as Header>::Number>)

A prevote message.

§

Precommit(Precommit<<Header as Header>::Hash, <Header as Header>::Number>)

A precommit message.

§

PrimaryPropose(PrimaryPropose<<Header as Header>::Hash, <Header as Header>::Number>)

A primary proposal message.