Skip to content

Commit 7fe03a8

Browse files
authored
Revert "refactor(lighthouse): remove redundant network flags (#67)" (#81)
This reverts commit 610be35.
1 parent 1c9e828 commit 7fe03a8

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

internal/components.go

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -304,15 +304,9 @@ func (l *LighthouseBeaconNode) Run(svc *service, ctx *ExContext) {
304304
"bn",
305305
"--datadir", "{{.Dir}}/data_beacon_node",
306306
"--testnet-dir", "{{.Dir}}/testnet",
307+
"--enable-private-discovery",
307308
"--disable-peer-scoring",
308309
"--staking",
309-
"--disable-discovery",
310-
"--disable-upnp",
311-
"--disable-packet-filter",
312-
"--target-peers", "0",
313-
"--boot-nodes", "",
314-
"--debug-level", "error",
315-
"--logfile-debug-level", "error",
316310
"--enr-address", "127.0.0.1",
317311
"--enr-udp-port", `{{Port "p2p" 9000}}`,
318312
"--enr-tcp-port", `{{Port "p2p" 9000}}`,
@@ -323,6 +317,8 @@ func (l *LighthouseBeaconNode) Run(svc *service, ctx *ExContext) {
323317
"--http-port", `{{Port "http" 3500}}`,
324318
"--http-address", "0.0.0.0",
325319
"--http-allow-origin", "*",
320+
"--disable-packet-filter",
321+
"--target-peers", "0",
326322
"--execution-endpoint", Connect(l.ExecutionNode, "authrpc"),
327323
"--execution-jwt", "{{.Dir}}/jwtsecret",
328324
"--always-prepare-payload",

0 commit comments

Comments
 (0)