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

UX Network Fixes #6796

Merged
merged 12 commits into from
Feb 4, 2025
Next Next commit
Fix some small annoyances
  • Loading branch information
AgeManning committed Jan 13, 2025
commit 410457a7e6ab598e96780db2b5bab28d2a66d9aa
5 changes: 5 additions & 0 deletions beacon_node/lighthouse_network/src/service/mod.rs
Original file line number Diff line number Diff line change
@@ -197,6 +197,11 @@ impl<E: EthSpec> Network<E> {
&ctx.chain_spec,
)?;

// Pre-initializes metrics
// This is is an initial value to specify NAT ports start closed until proven otherwise.
set_gauge_vec(&NAT_OPEN, &["libp2p_ipv4"], 0),
set_gauge_vec(&NAT_OPEN, &["libp2p_ipv6"], 0),

// Construct the metadata
let custody_subnet_count = ctx.chain_spec.is_peer_das_scheduled().then(|| {
if config.subscribe_all_data_column_subnets {
4 changes: 2 additions & 2 deletions beacon_node/src/cli.rs
Original file line number Diff line number Diff line change
@@ -185,8 +185,8 @@ pub fn cli_app() -> Command {
.long("port6")
.value_name("PORT")
.help("The TCP/UDP ports to listen on over IPv6 when listening over both IPv4 and \
IPv6. Defaults to 9090 when required. The Quic UDP port will be set to this value + 1.")
.default_value("9090")
IPv6. Defaults to 9000. The Quic UDP port will be set to this value + 1.")
.default_value("9000")
.action(ArgAction::Set)
.display_order(0)
)