Type Alias sp_consensus_grandpa::CompactCommit
source · pub type CompactCommit<Header> = CompactCommit<<Header as HeaderT>::Hash, <Header as HeaderT>::Number, AuthoritySignature, AuthorityId>;
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.