Skip to content

Commit

Permalink
set p2p NoTransportSecurity default to false
Browse files Browse the repository at this point in the history
  • Loading branch information
sophoah committed Aug 21, 2024
1 parent 79a245f commit 75f5b7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/bootnode/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func main() {
logConn := flag.Bool("log_conn", false, "log incoming/outgoing connections")
maxConnPerIP := flag.Int("max_conn_per_ip", 10, "max connections number for same ip")
forceReachabilityPublic := flag.Bool("force_public", false, "forcing the local node to believe it is reachable externally")
noTransportSecurity := flag.Bool("no_transport_security", true, "disable TLS encrypted transport")
noTransportSecurity := flag.Bool("no_transport_security", false, "disable TLS encrypted transport")
muxer := flag.String("muxer", "mplex, yamux", "protocol muxer to mux per-protocol streams (mplex, yamux)")
userAgent := flag.String("user_agent", defUserAgent, "explicitly set the user-agent, so we can differentiate from other Go libp2p users")
noRelay := flag.Bool("no_relay", true, "no relay services, direct connections between peers only")
Expand Down
2 changes: 1 addition & 1 deletion internal/configs/node/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const (
// DefaultWaitForEachPeerToConnect sets the sync configs to connect to neighbor peers one by one and waits for each peer to connect.
DefaultWaitForEachPeerToConnect = false
// DefaultNoTransportSecurity
DefaultNoTransportSecurity = true
DefaultNoTransportSecurity = false
// DefaultNAT enables NAT manager for P2P
DefaultNAT = true
// DefaultUserAgent set the user agent to differentiate between libp2p users
Expand Down

0 comments on commit 75f5b7d

Please sign in to comment.