pub struct NewFull<C, CodeExecutor, CBlock, CClient, RuntimeApi, AccountId>where
Block: BlockT,
CBlock: BlockT,
NumberFor<CBlock>: From<NumberFor<Block>>,
CBlock::Hash: From<Hash>,
CClient: HeaderBackend<CBlock> + BlockBackend<CBlock> + ProvideRuntimeApi<CBlock> + Send + Sync + 'static,
CClient::Api: DomainsApi<CBlock, Header> + MessengerApi<CBlock, NumberFor<CBlock>, CBlock::Hash>,
RuntimeApi: ConstructRuntimeApi<Block, FullClient<Block, RuntimeApi>> + Send + Sync + 'static,
RuntimeApi::RuntimeApi: ApiExt<Block> + Metadata<Block> + AccountNonceApi<Block, AccountId, Nonce> + BlockBuilder<Block> + OffchainWorkerApi<Block> + SessionKeys<Block> + TaggedTransactionQueue<Block> + TransactionPaymentRuntimeApi<Block, Balance> + DomainCoreApi<Block> + MessengerApi<Block, NumberFor<CBlock>, CBlock::Hash> + RelayerApi<Block, NumberFor<Block>, NumberFor<CBlock>, CBlock::Hash>,
AccountId: Encode + Decode,{
pub task_manager: TaskManager,
pub client: C,
pub backend: Arc<FullBackend<Block>>,
pub code_executor: Arc<CodeExecutor>,
pub network_service: Arc<dyn NetworkService>,
pub sync_service: Arc<SyncingService<Block>>,
pub rpc_handlers: RpcHandlers,
pub network_starter: NetworkStarter,
pub operator: DomainOperator<Block, CBlock, CClient, RuntimeApi>,
pub transaction_pool: Arc<FullPool<RuntimeApi>>,
/* private fields */
}
Expand description
Domain full node along with some other components.
Fields§
§task_manager: TaskManager
Task manager.
client: C
Full client.
backend: Arc<FullBackend<Block>>
Backend.
code_executor: Arc<CodeExecutor>
Code executor.
network_service: Arc<dyn NetworkService>
Network service.
sync_service: Arc<SyncingService<Block>>
Sync service.
rpc_handlers: RpcHandlers
RPCHandlers to make RPC queries.
network_starter: NetworkStarter
Network starter.
operator: DomainOperator<Block, CBlock, CClient, RuntimeApi>
Operator.
transaction_pool: Arc<FullPool<RuntimeApi>>
Transaction pool
Auto Trait Implementations§
impl<C, CodeExecutor, CBlock, CClient, RuntimeApi, AccountId> Freeze for NewFull<C, CodeExecutor, CBlock, CClient, RuntimeApi, AccountId>
impl<C, CodeExecutor, CBlock, CClient, RuntimeApi, AccountId> !RefUnwindSafe for NewFull<C, CodeExecutor, CBlock, CClient, RuntimeApi, AccountId>
impl<C, CodeExecutor, CBlock, CClient, RuntimeApi, AccountId> Send for NewFull<C, CodeExecutor, CBlock, CClient, RuntimeApi, AccountId>
impl<C, CodeExecutor, CBlock, CClient, RuntimeApi, AccountId> !Sync for NewFull<C, CodeExecutor, CBlock, CClient, RuntimeApi, AccountId>
impl<C, CodeExecutor, CBlock, CClient, RuntimeApi, AccountId> Unpin for NewFull<C, CodeExecutor, CBlock, CClient, RuntimeApi, AccountId>
impl<C, CodeExecutor, CBlock, CClient, RuntimeApi, AccountId> !UnwindSafe for NewFull<C, CodeExecutor, CBlock, CClient, RuntimeApi, AccountId>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> IsType<T> for T
impl<T> IsType<T> for T
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read more§impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
type Error = <U as TryFromKey<T>>::Error
fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.