Skip to content

Commit 9c05546

Browse files
authored
feat(libp2p): enable websockets transport by default (#5095)
1 parent 6c08f77 commit 9c05546

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

cmd/bee/cmd/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ func (c *command) setAllFlags(cmd *cobra.Command) {
243243
cmd.Flags().String(optionNameAPIAddr, "127.0.0.1:1633", "HTTP API listen address")
244244
cmd.Flags().String(optionNameP2PAddr, ":1634", "P2P listen address")
245245
cmd.Flags().String(optionNameNATAddr, "", "NAT exposed address")
246-
cmd.Flags().Bool(optionNameP2PWSEnable, false, "enable P2P WebSocket transport")
246+
cmd.Flags().Bool(optionNameP2PWSEnable, true, "enable P2P WebSocket transport")
247247
cmd.Flags().StringSlice(optionNameBootnodes, []string{"/dnsaddr/mainnet.ethswarm.org"}, "initial nodes to connect to")
248248
cmd.Flags().Uint64(optionNameNetworkID, chaincfg.Mainnet.NetworkID, "ID of the Swarm network")
249249
cmd.Flags().StringSlice(optionCORSAllowedOrigins, []string{}, "origins with CORS headers enabled")

packaging/bee.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ data-dir: "/var/lib/bee"
4949
## P2P listen address
5050
# p2p-addr: :1634
5151
## enable P2P WebSocket transport
52-
# p2p-ws-enable: false
52+
# p2p-ws-enable: true
5353
## password for decrypting keys
5454
# password: ""
5555
## path to a file that contains password for decrypting keys

packaging/homebrew-amd64/bee.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ data-dir: "/usr/local/var/lib/swarm-bee"
4949
## P2P listen address
5050
# p2p-addr: :1634
5151
## enable P2P WebSocket transport
52-
# p2p-ws-enable: false
52+
# p2p-ws-enable: true
5353
## password for decrypting keys
5454
# password: ""
5555
## path to a file that contains password for decrypting keys

packaging/homebrew-arm64/bee.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ data-dir: "/opt/homebrew/var/lib/swarm-bee"
4949
## P2P listen address
5050
# p2p-addr: :1634
5151
## enable P2P WebSocket transport
52-
# p2p-ws-enable: false
52+
# p2p-ws-enable: true
5353
## password for decrypting keys
5454
# password: ""
5555
## path to a file that contains password for decrypting keys

packaging/scoop/bee.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ data-dir: "./data"
4949
## P2P listen address
5050
# p2p-addr: :1634
5151
## enable P2P WebSocket transport
52-
# p2p-ws-enable: false
52+
# p2p-ws-enable: true
5353
## password for decrypting keys
5454
# password: ""
5555
## path to a file that contains password for decrypting keys

0 commit comments

Comments
 (0)