Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions beacon_node/lighthouse_network/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ pub struct Config {
/// Whether to subscribe to the EIP-8025 `execution_proof` gossip topic.
pub enable_execution_proof: bool,

/// Whether to enable the mplex multiplexer alongside yamux. Enabled by default.
/// Whether to enable the mplex multiplexer alongside yamux. Disabled by default.
pub enable_mplex: bool,

/// Configuration for the outbound rate limiter (requests made by this node).
Expand Down Expand Up @@ -369,7 +369,7 @@ impl Default for Config {
metrics_enabled: false,
enable_light_client_server: true,
enable_execution_proof: false,
enable_mplex: true,
enable_mplex: false,
outbound_rate_limiter_config: None,
invalid_block_storage: None,
inbound_rate_limiter_config: None,
Expand Down
4 changes: 2 additions & 2 deletions beacon_node/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,9 @@ pub fn cli_app() -> Command {
.value_name("BOOLEAN")
.action(ArgAction::Set)
.num_args(0..=1)
.default_value("true")
.default_value("false")
.default_missing_value("true")
.help("Enables the mplex multiplexer alongside yamux. Yamux is preferred when both are available. Enabled by default; set to \"false\" to disable.")
.help("Enables the mplex multiplexer alongside yamux. Yamux is preferred when both are available. Disabled by default; set to \"true\" to enable.")
.display_order(0)
)
.arg(
Expand Down
4 changes: 2 additions & 2 deletions book/src/help_bn.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ Options:
both IPv4 and IPv6. Defaults to `port6`
--enable-mplex [<BOOLEAN>]
Enables the mplex multiplexer alongside yamux. Yamux is preferred when
both are available. Enabled by default; set to "false" to disable.
[default: true]
both are available. Disabled by default; set to "true" to enable.
[default: false]
--enable-partial-columns [<BOOLEAN>]
Enable partial messages for data columns. This can reduce the amount
of data sent over the network. Enabled by default on Hoodi and
Expand Down
4 changes: 2 additions & 2 deletions lighthouse/tests/beacon_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2813,11 +2813,11 @@ fn invalid_block_roots_default_mainnet() {
}

#[test]
fn enable_mplex_default() {
fn disable_mplex_default() {
CommandLineTest::new()
.run_with_zero_port()
.with_config(|config| {
assert!(config.network.enable_mplex);
assert!(!config.network.enable_mplex);
})
}

Expand Down
Loading