Function sc_finality_grandpa::light_block_import [−][src]
pub fn light_block_import<BE, Block: BlockT, Client>(
client: Arc<Client>,
backend: Arc<BE>,
genesis_authorities_provider: &dyn GenesisAuthoritySetProvider<Block>,
authority_set_provider: Arc<dyn AuthoritySetForFinalityChecker<Block>>
) -> Result<GrandpaLightBlockImport<BE, Block, Client>, ClientError> where
BE: Backend<Block>,
Client: ClientForGrandpa<Block, BE>,
Create light block importer.