referrerpolicy=no-referrer-when-downgrade

Type Alias sp_consensus_grandpa::Commit

source ·
pub type Commit<Header> = Commit<<Header as HeaderT>::Hash, <Header as HeaderT>::Number, AuthoritySignature, AuthorityId>;
Expand description

A commit message for this chain’s block type.

Aliased Type§

struct Commit<Header> {
    pub target_hash: <Header as Header>::Hash,
    pub target_number: <Header as Header>::Number,
    pub precommits: Vec<SignedPrecommit<<Header as Header>::Hash, <Header as Header>::Number, 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<SignedPrecommit<<Header as Header>::Hash, <Header as Header>::Number, Signature, Public>>

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