mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
debt(discv5): discv5 integration into network (#8065)
This commit is contained in:
@ -94,16 +94,6 @@ pub const DEFAULT_DISCOVERY_ADDR: IpAddr = IpAddr::V4(Ipv4Addr::UNSPECIFIED);
|
||||
/// Note: the default TCP port is the same.
|
||||
pub const DEFAULT_DISCOVERY_PORT: u16 = 30303;
|
||||
|
||||
/// The default address for discv5 via UDP.
|
||||
///
|
||||
/// Note: the default TCP address is the same.
|
||||
pub const DEFAULT_DISCOVERY_V5_ADDR: IpAddr = IpAddr::V4(Ipv4Addr::UNSPECIFIED);
|
||||
|
||||
/// The default port for discv5 via UDP.
|
||||
///
|
||||
/// Default is port 9000.
|
||||
pub const DEFAULT_DISCOVERY_V5_PORT: u16 = 9000;
|
||||
|
||||
/// The default address for discv4 via UDP: "0.0.0.0:30303"
|
||||
///
|
||||
/// Note: The default TCP address is the same.
|
||||
|
||||
Reference in New Issue
Block a user