referrerpolicy=no-referrer-when-downgrade

Type Alias solochain_template_node::service::Service

source ·
pub type Service = PartialComponents<TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>, TFullBackend<Block>, LongestChain<TFullBackend<Block>, Block>, DefaultImportQueue<Block>, TransactionPoolHandle<Block, TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>>, (GrandpaBlockImport<TFullBackend<Block>, Block, TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>, LongestChain<TFullBackend<Block>, Block>>, LinkHalf<Block, TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>, LongestChain<TFullBackend<Block>, Block>>, Option<Telemetry>)>;

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>, 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: LongestChain<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>,
    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>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>>,
    pub other: (GrandpaBlockImport<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, 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>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, LongestChain<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>, LinkHalf<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>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, LongestChain<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>, Option<Telemetry>),
}

Fields§

§client: Arc<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor>, 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: LongestChain<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>

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>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>>

A shared transaction pool.

§other: (GrandpaBlockImport<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, 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>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, LongestChain<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>, LinkHalf<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>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, LongestChain<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>, Option<Telemetry>)

Everything else that needs to be passed into the main build function.