Skip to content

Commit f191ab0

Browse files
authored
revert: "feat(libp2p): enable websockets transport by default (#5095)" (#5102)
1 parent e188a40 commit f191ab0

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
@@ -244,7 +244,7 @@ func (c *command) setAllFlags(cmd *cobra.Command) {
244244
cmd.Flags().String(optionNameAPIAddr, "127.0.0.1:1633", "HTTP API listen address")
245245
cmd.Flags().String(optionNameP2PAddr, ":1634", "P2P listen address")
246246
cmd.Flags().String(optionNameNATAddr, "", "NAT exposed address")
247-
cmd.Flags().Bool(optionNameP2PWSEnable, true, "enable P2P WebSocket transport")
247+
cmd.Flags().Bool(optionNameP2PWSEnable, false, "enable P2P WebSocket transport")
248248
cmd.Flags().StringSlice(optionNameBootnodes, []string{"/dnsaddr/mainnet.ethswarm.org"}, "initial nodes to connect to")
249249
cmd.Flags().Uint64(optionNameNetworkID, chaincfg.Mainnet.NetworkID, "ID of the Swarm network")
250250
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: true
52+
# p2p-ws-enable: false
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: true
52+
# p2p-ws-enable: false
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: true
52+
# p2p-ws-enable: false
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: true
52+
# p2p-ws-enable: false
5353
## password for decrypting keys
5454
# password: ""
5555
## path to a file that contains password for decrypting keys

0 commit comments

Comments
 (0)