domain_service

Function new_full

source
pub async fn new_full<CBlock, CClient, IBNS, CIBNS, NSNS, ASS, RuntimeApi, AccountId, Provider, CNR>(
    domain_params: DomainParams<CBlock, CClient, IBNS, CIBNS, NSNS, ASS, Provider, CNR>,
) -> Result<NewFull<Arc<FullClient<Block, RuntimeApi>>, RuntimeExecutor, CBlock, CClient, RuntimeApi, AccountId>>
where CBlock: BlockT, NumberFor<CBlock>: From<NumberFor<Block>> + Into<u32>, CBlock::Hash: From<Hash> + Into<Hash>, CClient: HeaderBackend<CBlock> + HeaderMetadata<CBlock, Error = Error> + BlockBackend<CBlock> + ProofProvider<CBlock> + ProvideRuntimeApi<CBlock> + BlockchainEvents<CBlock> + AuxStore + Send + Sync + 'static, CClient::Api: DomainsApi<CBlock, Header> + RelayerApi<CBlock, NumberFor<CBlock>, NumberFor<CBlock>, CBlock::Hash> + MessengerApi<CBlock, NumberFor<CBlock>, CBlock::Hash> + BundleProducerElectionApi<CBlock, Balance> + FraudProofApi<CBlock, Header> + MmrApi<CBlock, H256, NumberFor<CBlock>>, IBNS: Stream<Item = (NumberFor<CBlock>, Sender<()>)> + Send + Unpin + 'static, CIBNS: Stream<Item = BlockImportNotification<CBlock>> + Send + Unpin + 'static, NSNS: Stream<Item = (Slot, PotOutput)> + Send + 'static, ASS: Stream<Item = Sender<()>> + Send + 'static, RuntimeApi: ConstructRuntimeApi<Block, FullClient<Block, RuntimeApi>> + Send + Sync + 'static, RuntimeApi::RuntimeApi: ApiExt<Block> + Metadata<Block> + BlockBuilder<Block> + OffchainWorkerApi<Block> + SessionKeys<Block> + DomainCoreApi<Block> + MessengerApi<Block, NumberFor<CBlock>, CBlock::Hash> + TaggedTransactionQueue<Block> + AccountNonceApi<Block, AccountId, Nonce> + TransactionPaymentRuntimeApi<Block, Balance> + RelayerApi<Block, NumberFor<Block>, NumberFor<CBlock>, CBlock::Hash>, AccountId: DeserializeOwned + Encode + Decode + Clone + Debug + Display + FromStr + Sync + Send + 'static, Provider: RpcProvider<Block, FullClient<Block, RuntimeApi>, FullPool<RuntimeApi>, FullChainApi<FullClient<Block, RuntimeApi>, Block>, TFullBackend<Block>, AccountId, CreateInherentDataProvider<CClient, CBlock>> + BlockImportProvider<Block, FullClient<Block, RuntimeApi>> + 'static, CNR: NetworkRequest + Send + Sync + 'static,
Expand description

Builds service for a domain full node.