Skip to content

Commit 610be35

Browse files
refactor(lighthouse): remove redundant network flags (#67)
1 parent 0d0d444 commit 610be35

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

internal/components.go

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,15 @@ func (l *LighthouseBeaconNode) Run(svc *service, ctx *ExContext) {
283283
"bn",
284284
"--datadir", "{{.Dir}}/data_beacon_node",
285285
"--testnet-dir", "{{.Dir}}/testnet",
286-
"--enable-private-discovery",
287286
"--disable-peer-scoring",
288287
"--staking",
288+
"--disable-discovery",
289+
"--disable-upnp",
290+
"--disable-packet-filter",
291+
"--target-peers", "0",
292+
"--boot-nodes", "",
293+
"--debug-level", "error",
294+
"--logfile-debug-level", "error",
289295
"--enr-address", "127.0.0.1",
290296
"--enr-udp-port", `{{Port "p2p" 9000}}`,
291297
"--enr-tcp-port", `{{Port "p2p" 9000}}`,
@@ -296,8 +302,6 @@ func (l *LighthouseBeaconNode) Run(svc *service, ctx *ExContext) {
296302
"--http-port", `{{Port "http" 3500}}`,
297303
"--http-address", "0.0.0.0",
298304
"--http-allow-origin", "*",
299-
"--disable-packet-filter",
300-
"--target-peers", "0",
301305
"--execution-endpoint", Connect(l.ExecutionNode, "authrpc"),
302306
"--execution-jwt", "{{.Dir}}/jwtsecret",
303307
"--always-prepare-payload",

0 commit comments

Comments
 (0)