init_rpc_servers

Function init_rpc_servers 

Source
pub fn init_rpc_servers(
    config: RpcConfig,
    network: Network,
    blockchain_read: BlockchainReadHandle,
    blockchain_context: BlockchainContextService,
    txpool_read: TxpoolReadHandle,
    tx_handler: IncomingTxHandler,
)
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