Function phronesis::rpc::create_full
source · pub fn create_full<C, P, BE, A, SO, CIDP, EC>(
deps: FullDeps<C, P, A, SO, CIDP>,
pubsub_notification_sinks: Arc<EthereumBlockNotificationSinks<EthereumBlockNotification<Block>>>,
subscription_task_executor: SubscriptionTaskExecutor
) -> Result<RpcModule<()>, Box<dyn Error + Send + Sync>>where
BE: Backend<Block> + 'static,
BE::State: StateBackend<BlakeTwo256>,
C: BlockchainEvents<Block> + ProvideRuntimeApi<Block> + StorageProvider<Block, BE> + HeaderBackend<Block> + HeaderMetadata<Block, Error = Error> + Send + Sync + 'static + AuxStore + UsageProvider<Block> + CallApiAt<Block>,
C::Api: RuntimeApiCollection + AuraApi<Block, AuthorityId>,
P: TransactionPool<Block = Block> + 'static + Send + Sync,
A: ChainApi<Block = Block> + 'static,
SO: SyncOracle + Send + Sync + 'static,
CIDP: CreateInherentDataProviders<Block, ()> + 'static,
EC: EthConfig<Block, C>,
Expand description
Instantiate all full RPC extensions.