mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-21 13:54:44 +00:00
Add flag to disable warning logs for duplicate gossip messages (#5009)
* Add flag to disable warning logs for duplicate gossip messages. * Update Lighthouse book.
This commit is contained in:
@@ -29,6 +29,11 @@ FLAGS:
|
||||
--disable-deposit-contract-sync Explictly disables syncing of deposit logs from the execution node. This
|
||||
overrides any previous option that depends on it. Useful if you intend to
|
||||
run a non-validating beacon node.
|
||||
--disable-duplicate-warn-logs Disable warning logs for duplicate gossip messages. The WARN level log is
|
||||
useful for detecting a duplicate validator key running elsewhere.
|
||||
However, this may result in excessive warning logs if the validator is
|
||||
broadcasting messages to multiple beacon nodes via the validator client
|
||||
--broadcast flag. In this case, disabling these warn logs may be useful.
|
||||
-x, --disable-enr-auto-update Discovery automatically updates the nodes local ENR with an external IP
|
||||
address and port as seen by other peers on the network. This disables
|
||||
this feature, fixing the ENR's IP/PORT to those specified on boot.
|
||||
|
||||
@@ -101,6 +101,10 @@ from this list:
|
||||
- `none`: Disable all broadcasting. This option only has an effect when provided alone, otherwise
|
||||
it is ignored. Not recommended except for expert tweakers.
|
||||
|
||||
Broadcasting attestation, blocks and sync committee messages may result in excessive warning logs in the beacon node
|
||||
due to duplicate gossip messages. In this case, it may be desirable to disable warning logs for duplicates using the
|
||||
beacon node `--disable-duplicate-warn-logs` flag.
|
||||
|
||||
The default is `--broadcast subscriptions`. To also broadcast blocks for example, use
|
||||
`--broadcast subscriptions,blocks`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user