referrerpolicy=no-referrer-when-downgrade

Type Alias sc_consensus_grandpa::CompactCommit

pub type CompactCommit<Header> = CompactCommit<<Header as Header>::Hash, <Header as Header>::Number, Signature, Public>;
Expand description

A compact commit message for this chain’s block type.

Aliased Type§

struct CompactCommit<Header> {
    pub target_hash: <Header as Header>::Hash,
    pub target_number: <Header as Header>::Number,
    pub precommits: Vec<Precommit<<Header as Header>::Hash, <Header as Header>::Number>>,
    pub auth_data: Vec<(Signature, Public)>,
}

Fields§

§target_hash: <Header as Header>::Hash

The target block’s hash.

§target_number: <Header as Header>::Number

The target block’s number.

§precommits: Vec<Precommit<<Header as Header>::Hash, <Header as Header>::Number>>

Precommits for target block or any block after it that justify this commit.

§auth_data: Vec<(Signature, Public)>

Authentication data for the commit.