Type Alias parachain_template_node::service::Service
source · pub type Service = PartialComponents<TFullClient<Block, RuntimeApi, WasmExecutor<ParachainHostFunctions>>, TFullBackend<Block>, (), DefaultImportQueue<Block>, TransactionPoolHandle<Block, TFullClient<Block, RuntimeApi, WasmExecutor<ParachainHostFunctions>>>, (ParachainBlockImport<Block, Arc<TFullClient<Block, RuntimeApi, WasmExecutor<ParachainHostFunctions>>>, TFullBackend<Block>>, Option<Telemetry>, Option<TelemetryWorkerHandle>)>;
Expand description
Assembly of PartialComponents (enough to run chain ops subcommands)
Aliased Type§
struct Service {
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, 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<TransactionPoolWrapper<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, 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, HostFunctions))>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>>,
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, HostFunctions))>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>, Option<Telemetry>, Option<TelemetryWorkerHandle>),
}
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, 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<TransactionPoolWrapper<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, 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, HostFunctions))>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>>
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, HostFunctions))>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>, Option<Telemetry>, Option<TelemetryWorkerHandle>)
Everything else that needs to be passed into the main build function.