Function sc_light::new_light_backend [−][src]
pub fn new_light_backend<B, S>(
blockchain: Arc<Blockchain<S>>
) -> Arc<Backend<S, HashFor<B>>> where
B: BlockT,
S: BlockchainStorage<B>,
Create an instance of light client backend.