mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Add an ability to change P2P listening address (#4849)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -88,6 +88,11 @@ use reth_net_nat::ResolveNatInterval;
|
||||
/// reexport to get public ip.
|
||||
pub use reth_net_nat::{external_ip, NatResolver};
|
||||
|
||||
/// The default address for discv4 via UDP
|
||||
///
|
||||
/// Note: the default TCP address is the same.
|
||||
pub const DEFAULT_DISCOVERY_ADDR: Ipv4Addr = Ipv4Addr::UNSPECIFIED;
|
||||
|
||||
/// The default port for discv4 via UDP
|
||||
///
|
||||
/// Note: the default TCP port is the same.
|
||||
|
||||
Reference in New Issue
Block a user