Function sc_service::client::new_in_mem [−][src]
pub fn new_in_mem<E, Block, S, RA>(
executor: E,
genesis_storage: &S,
keystore: Option<SyncCryptoStorePtr>,
prometheus_registry: Option<Registry>,
telemetry: Option<TelemetryHandle>,
spawn_handle: Box<dyn SpawnNamed>,
config: ClientConfig<Block>
) -> Result<Client<Backend<Block>, LocalCallExecutor<Block, Backend<Block>, E>, Block, RA>> where
E: CodeExecutor + RuntimeVersionOf,
S: BuildStorage,
Block: BlockT,
Expand description
Create an instance of in-memory client.