reth::network::test_utils

Function unused_tcp_udp

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.