Trait sp_consensus::block_import::FinalityProofImport [−][src]
Finality proof import trait.
Associated Types
Loading content...Required methods
fn import_finality_proof(
&mut self,
hash: B::Hash,
number: NumberFor<B>,
finality_proof: Vec<u8>,
verifier: &mut dyn Verifier<B>
) -> Result<(B::Hash, NumberFor<B>), Self::Error>
[src]
&mut self,
hash: B::Hash,
number: NumberFor<B>,
finality_proof: Vec<u8>,
verifier: &mut dyn Verifier<B>
) -> Result<(B::Hash, NumberFor<B>), Self::Error>
Import a Block justification and finalize the given block. Returns finalized block or error.
Provided methods
fn on_start(&mut self) -> Vec<(B::Hash, NumberFor<B>)>
[src]
Called by the import queue when it is started. Returns a list of finality proofs to request from the network.