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