Returns the `RLPx` socket configured by reth network arguments.
(args: &RethNetworkArgs)
| 1338 | |
| 1339 | /// Returns the `RLPx` socket configured by reth network arguments. |
| 1340 | pub fn rlpx_socket(args: &RethNetworkArgs) -> SocketAddr { |
| 1341 | (args.addr, args.port).into() |
| 1342 | } |
| 1343 | |
| 1344 | /// Encodes the NAT-discovered external IP as an ENR key-value pair. |
| 1345 | pub fn enr_ip_kv_pair(external_addr: Option<IpAddr>) -> Option<(&'static [u8], Bytes)> { |
nothing calls this directly
no outgoing calls
no test coverage detected