debt(discv5): discv5 integration into network (#8065)

This commit is contained in:
Emilia Hane
2024-05-03 14:38:26 +02:00
committed by GitHub
parent 90f3161256
commit f20e4cbad8
7 changed files with 28 additions and 42 deletions

View File

@ -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.