Improve explanation of the --doppelganger-detection option in --help. (#2626)

* Improve explanation of the --doppelganger-detection option in --help.

* Update beacon_chain/conf.nim

Co-authored-by: 0xmiel <sacha.saint-leger@ethereum.org>

Co-authored-by: 0xmiel <sacha.saint-leger@ethereum.org>
This commit is contained in:
Johann Bauer 2021-06-03 11:20:42 +02:00 committed by GitHub
parent 0fb02b5206
commit 141c39cfaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ type
name: "direct-peer" .}: seq[string]
doppelgangerDetection* {.
desc: "Whether to detect whether another validator is be running the same validator keys"
desc: "If enabled, the beacon node prudently listens for 2 epochs for attestations from a validator with the same index (a doppelganger), before sending an attestation itself. This protects against slashing (due to double-voting) but means you will miss two attestations when restarting."
defaultValue: true
name: "doppelganger-detection"
}: bool