mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Packet filter cli option (#2523)
## Issue Addressed N/A ## Proposed Changes Adds a cli option to disable packet filter in `lighthouse bootnode`. This is useful in running local testnets as the bootnode bans requests from the same ip(localhost) if the packet filter is enabled.
This commit is contained in:
@@ -21,4 +21,5 @@ exec lighthouse \
|
||||
--enr-tcp-port $2 \
|
||||
--port $2 \
|
||||
--http-port $3 \
|
||||
--disable-packet-filter \
|
||||
--target-peers $((NODE_COUNT - 1))
|
||||
|
||||
@@ -30,4 +30,5 @@ exec lighthouse boot_node \
|
||||
--testnet-dir $TESTNET_DIR \
|
||||
--port $BOOTNODE_PORT \
|
||||
--listen-address 127.0.0.1 \
|
||||
--disable-packet-filter \
|
||||
--network-dir $DATADIR/bootnode \
|
||||
|
||||
Reference in New Issue
Block a user