Function sc_service::client::light::new_light[][src]

pub fn new_light<B, S, RA, E>(
    backend: Arc<Backend<S, HashFor<B>>>,
    genesis_storage: &dyn BuildStorage,
    code_executor: E,
    spawn_handle: Box<dyn SpawnNamed>,
    prometheus_registry: Option<Registry>,
    telemetry: Option<TelemetryHandle>
) -> ClientResult<Client<Backend<S, HashFor<B>>, GenesisCallExecutor<Backend<S, HashFor<B>>, LocalCallExecutor<B, Backend<S, HashFor<B>>, E>>, B, RA>> where
    B: BlockT,
    S: BlockchainStorage<B> + 'static,
    E: CodeExecutor + RuntimeVersionOf + Clone + 'static, 
Expand description

Create an instance of light client.