Type Alias parachain_template_node::service::ParachainClient
source · type ParachainClient = TFullClient<OpaqueBlock, RuntimeApi, NativeElseWasmExecutor<ParachainNativeExecutor>>;
Aliased Type§
struct ParachainClient {Show 14 fields
backend: Arc<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>,
executor: LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, NativeElseWasmExecutor<ParachainNativeExecutor>>,
storage_notifications: StorageNotifications<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>,
import_notification_sinks: Mutex<RawMutex, Vec<TracingUnboundedSender<BlockImportNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>>>,
every_import_notification_sinks: Mutex<RawMutex, Vec<TracingUnboundedSender<BlockImportNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>>>,
finality_notification_sinks: Mutex<RawMutex, Vec<TracingUnboundedSender<FinalityNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>>>,
import_actions: Mutex<RawMutex, Vec<Box<dyn Fn(&BlockImportNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>) -> Vec<(Vec<u8>, Option<Vec<u8>>)> + Send>>>,
finality_actions: Mutex<RawMutex, Vec<Box<dyn Fn(&FinalityNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>) -> Vec<(Vec<u8>, Option<Vec<u8>>)> + Send>>>,
importing_block: RwLock<RawRwLock, Option<H256>>,
block_rules: BlockRules<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>,
config: ClientConfig<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>,
telemetry: Option<TelemetryHandle>,
unpin_worker_sender: TracingUnboundedSender<UnpinWorkerMessage<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>,
_phantom: PhantomData<RuntimeApi>,
}
Fields§
§backend: Arc<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>
§executor: LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, NativeElseWasmExecutor<ParachainNativeExecutor>>
§storage_notifications: StorageNotifications<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>
§import_notification_sinks: Mutex<RawMutex, Vec<TracingUnboundedSender<BlockImportNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>>>
§every_import_notification_sinks: Mutex<RawMutex, Vec<TracingUnboundedSender<BlockImportNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>>>
§finality_notification_sinks: Mutex<RawMutex, Vec<TracingUnboundedSender<FinalityNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>>>
§import_actions: Mutex<RawMutex, Vec<Box<dyn Fn(&BlockImportNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>) -> Vec<(Vec<u8>, Option<Vec<u8>>)> + Send>>>
§finality_actions: Mutex<RawMutex, Vec<Box<dyn Fn(&FinalityNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>) -> Vec<(Vec<u8>, Option<Vec<u8>>)> + Send>>>
§importing_block: RwLock<RawRwLock, Option<H256>>
§block_rules: BlockRules<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>
§config: ClientConfig<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>
§telemetry: Option<TelemetryHandle>
§unpin_worker_sender: TracingUnboundedSender<UnpinWorkerMessage<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>
§_phantom: PhantomData<RuntimeApi>