pub async fn new_full<PosTable, RuntimeApi>(
config: SubspaceConfiguration,
partial_components: PartialComponents<FullClient<RuntimeApi>, FullBackend, FullSelectChain, DefaultImportQueue<Block>, FullPool<FullClient<RuntimeApi>, Block, Header>, OtherPartialComponents<RuntimeApi>>,
prometheus_registry: Option<&mut Registry>,
enable_rpc_extensions: bool,
block_proposal_slot_portion: SlotProportion,
consensus_snap_sync_target_block_receiver: Option<Receiver<BlockNumber>>,
) -> Result<NewFull<FullClient<RuntimeApi>>, Error>where
PosTable: Table,
RuntimeApi: ConstructRuntimeApi<Block, FullClient<RuntimeApi>> + Send + Sync + 'static,
RuntimeApi::RuntimeApi: ApiExt<Block> + Metadata<Block> + AccountNonceApi<Block, AccountId, Nonce> + BlockBuilder<Block> + OffchainWorkerApi<Block> + SessionKeys<Block> + TaggedTransactionQueue<Block> + TransactionPaymentApi<Block, Balance> + SubspaceApi<Block, PublicKey> + DomainsApi<Block, Header> + FraudProofApi<Block, Header> + ObjectsApi<Block> + MmrApi<Block, Hash, BlockNumber> + MessengerApi<Block, NumberFor<Block>, <Block as BlockT>::Hash>,
Expand description
Builds a new service for a full client.