Description
Remove the experimental-discv5 feature flag and make discv5 support a standard part of the networking stack. Additionally, enable discv5 by default alongside discv4.
Current state
The feature flag is currently defined in:
cmd/ethrex/Cargo.toml (line 106)
crates/networking/p2p/Cargo.toml (line 75)
It guards the aes-gcm and hkdf dependencies and is enabled by default in ethrex-p2p.
Currently, discv5 must be explicitly enabled via CLI flag (--discovery.discv5).
Tasks
Description
Remove the
experimental-discv5feature flag and make discv5 support a standard part of the networking stack. Additionally, enable discv5 by default alongside discv4.Current state
The feature flag is currently defined in:
cmd/ethrex/Cargo.toml(line 106)crates/networking/p2p/Cargo.toml(line 75)It guards the
aes-gcmandhkdfdependencies and is enabled by default inethrex-p2p.Currently, discv5 must be explicitly enabled via CLI flag (
--discovery.discv5).Tasks
experimental-discv5feature flag fromcmd/ethrex/Cargo.tomlexperimental-discv5feature flag fromcrates/networking/p2p/Cargo.tomlaes-gcmandhkdfregular dependencies#[cfg(feature = "experimental-discv5")]) throughout the codebase