Function init_rpc_servers

Source
pub fn init_rpc_servers(
    config: RpcConfig,
    blockchain_read: BlockchainReadHandle,
    blockchain_context: BlockchainContextService,
    txpool_read: TxpoolReadHandle,
)
Expand description

Initialize the RPC server(s).

§Panics

This function will panic if:

  • the server(s) could not be started
  • unrestricted RPC is started on non-local address without override option