Trait sc_consensus::block_import::JustificationSyncLink[][src]

pub trait JustificationSyncLink<B: BlockT>: Send + Sync {
    fn request_justification(&self, hash: &B::Hash, number: NumberFor<B>);
fn clear_justification_requests(&self); }
Expand description

Control the synchronization process of block justifications.

When importing blocks different consensus engines might require that additional finality data is provided (i.e. a justification for the block). This trait abstracts the required methods to issue those requests

Required methods

Request a justification for the given block.

Clear all pending justification requests.

Implementations on Foreign Types

Implementors