mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-23 14:15:44 +00:00
grandpa: always try to import available block justifcation (#3928)
* grandpa: always try to import justifications in blocks * grandpa: export useful types * grandpa: add test for justification import on regular blocks * grandpa: expand comment in test
This commit is contained in:
@@ -39,7 +39,7 @@ use crate::communication;
|
||||
/// This is meant to be stored in the db and passed around the network to other
|
||||
/// nodes, and are used by syncing nodes to prove authority set handoffs.
|
||||
#[derive(Encode, Decode)]
|
||||
pub(crate) struct GrandpaJustification<Block: BlockT> {
|
||||
pub struct GrandpaJustification<Block: BlockT> {
|
||||
round: u64,
|
||||
pub(crate) commit: Commit<Block>,
|
||||
votes_ancestries: Vec<Block::Header>,
|
||||
|
||||
Reference in New Issue
Block a user