referrerpolicy=no-referrer-when-downgrade

Type Alias polkadot_sdk_frame::runtime::apis::Commit

pub type Commit<Header> = Commit<<Header as Header>::Hash, <Header as Header>::Number, Signature, Public>;
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.