Type Alias frontier_template_node::client::FullClient
source · pub type FullClient<RuntimeApi, Executor> = TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<Executor>>;
Expand description
Full client.
Aliased Type§
struct FullClient<RuntimeApi, Executor> {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<Executor>>,
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<Executor>>
§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>