referrerpolicy=no-referrer-when-downgrade

Function node_rpc::create_full

source ·
pub fn create_full<C, P, SC, B, AuthorityId>(
    _: FullDeps<C, P, SC, B, AuthorityId>,
) -> Result<RpcModule<()>, Box<dyn Error + Send + Sync>>
where C: ProvideRuntimeApi<Block> + BlockBackend<Block> + HeaderBackend<Block> + AuxStore + HeaderMetadata<Block, Error = Error> + Sync + Send + 'static, C::Api: AccountNonceApi<Block, AccountId, Nonce> + MmrRuntimeApi<Block, <Block as Block>::Hash, BlockNumber> + TransactionPaymentRuntimeApi<Block, Balance> + BabeApi<Block> + BlockBuilder<Block>, P: TransactionPool + 'static, SC: SelectChain<Block> + 'static, B: Backend<Block> + Send + Sync + 'static, B::State: StateBackend<HashingFor<Block>>, AuthorityId: AuthorityIdBound, <AuthorityId as RuntimeAppPublic>::Signature: Send + Sync,
Expand description

Instantiate all Full RPC extensions.