|
|
|
@ -42,7 +42,6 @@ public class NetworkingOptions implements CLIOptions<NetworkingConfiguration> { |
|
|
|
|
@CommandLine.Option( |
|
|
|
|
names = INITIATE_CONNECTIONS_FREQUENCY_FLAG, |
|
|
|
|
hidden = true, |
|
|
|
|
defaultValue = "30", |
|
|
|
|
paramLabel = "<INTEGER>", |
|
|
|
|
description = |
|
|
|
|
"The frequency (in seconds) at which to initiate new outgoing connections (default: ${DEFAULT-VALUE})") |
|
|
|
@ -52,7 +51,6 @@ public class NetworkingOptions implements CLIOptions<NetworkingConfiguration> { |
|
|
|
|
@CommandLine.Option( |
|
|
|
|
names = CHECK_MAINTAINED_CONNECTIONS_FREQUENCY_FLAG, |
|
|
|
|
hidden = true, |
|
|
|
|
defaultValue = "60", |
|
|
|
|
paramLabel = "<INTEGER>", |
|
|
|
|
description = |
|
|
|
|
"The frequency (in seconds) at which to check maintained connections (default: ${DEFAULT-VALUE})") |
|
|
|
@ -69,14 +67,12 @@ public class NetworkingOptions implements CLIOptions<NetworkingConfiguration> { |
|
|
|
|
@CommandLine.Option( |
|
|
|
|
names = DISCOVERY_PROTOCOL_V5_ENABLED, |
|
|
|
|
hidden = true, |
|
|
|
|
defaultValue = "false", |
|
|
|
|
description = "Whether to enable P2P Discovery Protocol v5 (default: ${DEFAULT-VALUE})") |
|
|
|
|
private final Boolean isPeerDiscoveryV5Enabled = false; |
|
|
|
|
|
|
|
|
|
@CommandLine.Option( |
|
|
|
|
names = FILTER_ON_ENR_FORK_ID, |
|
|
|
|
hidden = true, |
|
|
|
|
defaultValue = "true", |
|
|
|
|
description = "Whether to enable filtering of peers based on the ENR field ForkId)") |
|
|
|
|
private final Boolean filterOnEnrForkId = NetworkingConfiguration.DEFAULT_FILTER_ON_ENR_FORK_ID; |
|
|
|
|
|
|
|
|
|