[−][src]Function sc_client::new_with_backend
pub fn new_with_backend<B, E, Block, S, RA>(
backend: Arc<B>,
executor: E,
build_genesis_storage: &S,
keystore: Option<BareCryptoStorePtr>,
spawn_handle: Box<dyn CloneableSpawn>,
prometheus_registry: Option<Registry>
) -> Result<Client<B, LocalCallExecutor<B, E>, Block, RA>> where
E: CodeExecutor + RuntimeInfo,
S: BuildStorage,
Block: BlockT,
B: LocalBackend<Block> + 'static,
Create a client with the explicitly provided backend. This is useful for testing backend implementations.