Type Alias sp_consensus_grandpa::CatchUp
source · pub type CatchUp<Header> = CatchUp<<Header as HeaderT>::Hash, <Header as HeaderT>::Number, AuthoritySignature, AuthorityId>;
Expand description
A catch up message for this chain’s block type.
Aliased Type§
struct CatchUp<Header> {
pub round_number: u64,
pub prevotes: Vec<SignedPrevote<<Header as Header>::Hash, <Header as Header>::Number, Signature, Public>>,
pub precommits: Vec<SignedPrecommit<<Header as Header>::Hash, <Header as Header>::Number, Signature, Public>>,
pub base_hash: <Header as Header>::Hash,
pub base_number: <Header as Header>::Number,
}
Fields§
§round_number: u64
Round number.
prevotes: Vec<SignedPrevote<<Header as Header>::Hash, <Header as Header>::Number, Signature, Public>>
Prevotes for target block or any block after it that justify this catch-up.
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 catch-up.
base_hash: <Header as Header>::Hash
The base hash. See struct docs.
base_number: <Header as Header>::Number
The base number. See struct docs.