pub fn new_light_backend<B, S, F>(blockchain: Arc<Blockchain<S, F>>, fetcher: Arc<F>) -> Arc<Backend<S, F, Blake2Hasher>>
	where
		B: BlockT,
		S: BlockchainStorage<B>,
		F: Fetcher<B>,
{
	blockchain.set_fetcher(Arc::downgrade(&fetcher));
	Arc::new(Backend::new(blockchain))
}
/// Create an instance of light client backend.
Create an instance of light client backend.
Create an instance of light client backend .
pub fn new_light_backend<B, S, F>(blockchain: Arc<Blockchain<S, F>>, fetcher: Arc<F>) -> Arc<Backend<S, F, Blake2Hasher>>
	where
		B: BlockT,
		S: BlockchainStorage<B>,
		F: Fetcher<B>,
{
	blockchain.set_fetcher(Arc::downgrade(&fetcher));
	Arc::new(Backend::new(blockchain))
}
pub fn new_light_backend < B , S , F > ( blockchain : Arc < Blockchain < S , F > > , fetcher : Arc < F > ) -> Arc < Backend < S , F , Blake2Hasher > > where B : BlockT , S : BlockchainStorage < B > , F : Fetcher < B > , { blockchain . set_fetcher ( Arc :: downgrade ( & fetcher ) ) ; Arc :: new ( Backend :: new ( blockchain ) ) }
Create an instance of light client backend.
Create an instance of light client backend .
blockchain
Arc<Blockchain<S, F>>
fetcher
Arc<F>
blockchain
Arc<Blockchain<S, F>>
fetcher
Arc<F>