Function reth::network::test_utils::unused_tcp_udp

source ยท
pub fn unused_tcp_udp() -> (SocketAddr, SocketAddr)
Available on crate feature test-utils only.
Expand description

Creates two unused SocketAddrs, intended for use as the p2p (TCP) and discovery ports (UDP) for new reth instances.