Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hansieodendaal committed Nov 7, 2024
1 parent a5edcdc commit 37ed40a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions base_layer/p2p/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion common/config/presets/c_base_node_c.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion common/config/presets/d_console_wallet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 37ed40a

Please sign in to comment.