File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
lighthouse_network/src/service Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,11 @@ impl<E: EthSpec> Network<E> {
197
197
& ctx. chain_spec ,
198
198
) ?;
199
199
200
+ // Pre-initializes metrics
201
+ // This is is an initial value to specify NAT ports start closed until proven otherwise.
202
+ set_gauge_vec ( & NAT_OPEN , & [ "libp2p_ipv4" ] , 0 ) ,
203
+ set_gauge_vec ( & NAT_OPEN , & [ "libp2p_ipv6" ] , 0 ) ,
204
+
200
205
// Construct the metadata
201
206
let custody_subnet_count = ctx. chain_spec . is_peer_das_scheduled ( ) . then ( || {
202
207
if config. subscribe_all_data_column_subnets {
Original file line number Diff line number Diff line change @@ -185,8 +185,8 @@ pub fn cli_app() -> Command {
185
185
. long ( "port6" )
186
186
. value_name ( "PORT" )
187
187
. help ( "The TCP/UDP ports to listen on over IPv6 when listening over both IPv4 and \
188
- IPv6. Defaults to 9090 when required . The Quic UDP port will be set to this value + 1.")
189
- . default_value ( "9090 " )
188
+ IPv6. Defaults to 9000 . The Quic UDP port will be set to this value + 1.")
189
+ . default_value ( "9000 " )
190
190
. action ( ArgAction :: Set )
191
191
. display_order ( 0 )
192
192
)
You can’t perform that action at this time.
0 commit comments