Type Alias centrifuge_chain::service::evm::Service
source · pub type Service<RuntimeApi> = PartialComponents<TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>, TFullBackend<Block>, (), DefaultImportQueue<Block>, FullPool<Block, TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>>, (ParachainBlockImport<Block, Arc<TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>>, TFullBackend<Block>>, Option<Telemetry>, Option<TelemetryWorkerHandle>, Backend<Block>, FilterPool, FeeHistoryCache)>;
Expand description
Assembly of PartialComponents (enough to run chain ops subcommands)
NOTE: Based on Polkadot SDK
Aliased Type§
struct Service<RuntimeApi> {
pub client: Arc<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<(HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>,
pub backend: Arc<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>,
pub task_manager: TaskManager,
pub keystore_container: KeystoreContainer,
pub select_chain: (),
pub import_queue: BasicQueue<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>,
pub transaction_pool: Arc<BasicPool<FullChainApi<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<(HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>,
pub other: (ParachainBlockImport<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Arc<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<(HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>, Option<Telemetry>, Option<TelemetryWorkerHandle>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Arc<Mutex<BTreeMap<U256, FilterPoolItem>>>, Arc<Mutex<BTreeMap<u64, FeeHistoryCacheItem>>>),
}
Fields§
§client: Arc<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<(HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>
A shared client instance.
backend: Arc<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>
A shared backend instance.
task_manager: TaskManager
The chain task manager.
keystore_container: KeystoreContainer
A keystore container instance..
select_chain: ()
A chain selection algorithm instance.
import_queue: BasicQueue<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>
An import queue.
transaction_pool: Arc<BasicPool<FullChainApi<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<(HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>
A shared transaction pool.
other: (ParachainBlockImport<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Arc<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<(HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>, Option<Telemetry>, Option<TelemetryWorkerHandle>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Arc<Mutex<BTreeMap<U256, FilterPoolItem>>>, Arc<Mutex<BTreeMap<u64, FeeHistoryCacheItem>>>)
Everything else that needs to be passed into the main build function.