Function dock_node::rpc::create_full

source ·
pub fn create_full<C, P, B, SC, A>(
    deps: FullDeps<C, P, B, SC, A>,
    subscription_executor: SubscriptionTaskExecutor
) -> Result<RpcModule<()>, Box<dyn Error + Send + Sync>>where
    B: Backend<Block> + Send + Sync + 'static,
    B::State: StateBackend<HashFor<Block>>,
    C: ProvideRuntimeApi<Block> + StorageProvider<Block, B> + AuxStore + HeaderBackend<Block> + HeaderMetadata<Block, Error = BlockChainError> + 'static + BlockchainEvents<Block> + Send + Sync,
    C::Api: BabeApi<Block> + AccountNonceApi<Block, AccountId, Index> + TransactionPaymentRuntimeApi<Block, Balance> + PoARuntimeApi<Block, AccountId, Balance> + MmrRuntimeApi<Block, <Block as Block>::Hash> + PriceFeedRuntimeApi<Block, BlockNumber> + StakingRewardsRuntimeApi<Block, Balance> + CoreModsRuntimeApi<Block, Runtime> + BlockBuilder<Block> + EthereumRuntimeRPCApi<Block> + ConvertTransactionRuntimeApi<Block>,
    P: TransactionPool<Block = Block> + 'static,
    SC: SelectChain<Block> + 'static,
    A: ChainApi<Block = Block> + 'static,
Expand description

Instantiate all full RPC extensions.