Function spawn_txsender_loop_with_free_localhost_jsonrpc_port

Source
pub fn spawn_txsender_loop_with_free_localhost_jsonrpc_port(
    config: TxSenderConfig,
) -> (SocketAddr, JoinHandle<()>)
Expand description

Test utility: pick a free localhost port, enable JSON-RPC, and spawn txsender loop.

Returns (jsonrpc_addr, join_handle).