Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add experimental config option to enable v5 discovery #4103

Merged

Conversation

Gabriel-Trintinalia
Copy link
Contributor

Signed-off-by: Gabriel Trintinalia gabriel.trintinalia@consensys.net

PR description

Add experimental config option to enable v5 discovery##

Fixed Issue(s)

fixes #4088

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if
    updates are required.

Changelog

@@ -30,6 +30,7 @@ public class NetworkingOptions implements CLIOptions<NetworkingConfiguration> {
private final String CHECK_MAINTAINED_CONNECTIONS_FREQUENCY_FLAG =
"--Xp2p-check-maintained-connections-frequency";
private final String DNS_DISCOVERY_SERVER_OVERRIDE_FLAG = "--Xp2p-dns-discovery-server";
private final String DISCOVERY_PROTOCOL_V5_ENABLED = "--Xv5-disc-enabled";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non-blocking feedback - if we're not exactly matching what geth calls this option, I think I would prefer 'discovery' over 'disc'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, I just changed the option name

Signed-off-by: Gabriel Trintinalia <gabriel.trintinalia@consensys.net>
@macfarla macfarla merged commit 2827379 into hyperledger:main Jul 15, 2022
codyborn pushed a commit to codyborn/besu that referenced this pull request Jul 31, 2022
* Add experimental config option to enable v5 discovery

Signed-off-by: Gabriel Trintinalia <gabriel.trintinalia@consensys.net>

Co-authored-by: Gabriel Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
codyborn pushed a commit to codyborn/besu that referenced this pull request Jul 31, 2022
* Add experimental config option to enable v5 discovery

Signed-off-by: Gabriel Trintinalia <gabriel.trintinalia@consensys.net>

Co-authored-by: Gabriel Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
Signed-off-by: Cody Born <codyborn@outlook.com>
@Gabriel-Trintinalia Gabriel-Trintinalia deleted the 4088-cli-v5-discovery-flag branch August 2, 2022 13:21
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
* Add experimental config option to enable v5 discovery

Signed-off-by: Gabriel Trintinalia <gabriel.trintinalia@consensys.net>

Co-authored-by: Gabriel Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add a hidden, experimental config option --Xdiscv5-enabled default false
2 participants