diff --git a/base_layer/p2p/src/config.rs b/base_layer/p2p/src/config.rs index 6cf7c921ba..30e73f099a 100644 --- a/base_layer/p2p/src/config.rs +++ b/base_layer/p2p/src/config.rs @@ -103,8 +103,8 @@ pub struct P2pConfig { deserialize_with = "deserialize_from_str", serialize_with = "serialize_string" )] - /// If set to `Private`, the node will not be used as a public relay - /// (Base node default: `Auto`, Wallet default: `Private`) + /// If set to `Private`, the node assume it has no public address and will try to establish a relay connection as + /// soon as possible. `Auto` will use auto NAT to try determine this automatically. pub reachability_mode: ReachabilityMode, /// The global maximum allowed RPC sessions. /// Default: 100 diff --git a/common/config/presets/c_base_node_c.toml b/common/config/presets/c_base_node_c.toml index 7988570d04..1458fdd251 100644 --- a/common/config/presets/c_base_node_c.toml +++ b/common/config/presets/c_base_node_c.toml @@ -129,7 +129,8 @@ blockchain_sync_config.rpc_deadline = 240 # The multiaddrs to listen on. # Default: ["/ip4/0.0.0.0/tcp/0", "/ip4/0.0.0.0/udp/0/quic"] #listen_addresses = ["/ip4/0.0.0.0/tcp/0", "/ip4/0.0.0.0/udp/0/quic"] -# (Base node default: `auto`, Wallet default: `private`) +# If set to `Private`, the node assume it has no public address and will try to establish a relay connection as +# soon as possible. `Auto` will use auto NAT to try determine this automatically. #reachability_mode = auto # Optionally bind an additional TCP socket for inbound Tari P2P protocol commms. diff --git a/common/config/presets/d_console_wallet.toml b/common/config/presets/d_console_wallet.toml index 3b97fbdea2..3e573c299b 100644 --- a/common/config/presets/d_console_wallet.toml +++ b/common/config/presets/d_console_wallet.toml @@ -170,7 +170,8 @@ event_channel_size = 3500 # Default: ["/ip4/0.0.0.0/tcp/0", "/ip4/0.0.0.0/udp/0/quic"] #listen_addresses = ["/ip4/0.0.0.0/tcp/0", "/ip4/0.0.0.0/udp/0/quic"] # If set to `Private`, the node will not be used as a public relay -# (Base node default: `auto`, Wallet default: `private`) +# If set to `Private`, the node assume it has no public address and will try to establish a relay connection as +# soon as possible. `Auto` will use auto NAT to try determine this automatically. #reachability_mode = private # Optionally bind an additional TCP socket for inbound Tari P2P protocol commms.