Function client::rpc::launch_async_rpc_servers
source · pub async fn launch_async_rpc_servers(
rpc_conf: RpcImplConfiguration,
throttling_conf_file: Option<String>,
apis: RpcModuleSelection,
consensus: SharedConsensusGraph,
sync: SharedSynchronizationService,
tx_pool: SharedTransactionPool,
addr: Option<SocketAddr>
) -> Result<Option<RpcServerHandle>, String>