Type Alias sp_consensus_grandpa::Message

source ·
pub type Message<Header> = Message<<Header as HeaderT>::Hash, <Header as HeaderT>::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.