Type Alias centrifuge_chain::service::FullClient
source · type FullClient<RuntimeApi> = TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>;
Aliased Type§
struct FullClient<RuntimeApi> {Show 14 fields
backend: Arc<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>,
executor: 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)>>,
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<H256>,
_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>>, WasmExecutor<(HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions)>>
§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<H256>
§_phantom: PhantomData<RuntimeApi>