mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
Enable local slashing protection by default (#6687)
* Enable local slashing protection by default * Merge refs/heads/master into enable-local-protection-by-default * Merge refs/heads/master into enable-local-protection-by-default * Merge refs/heads/master into enable-local-protection-by-default * Merge refs/heads/master into enable-local-protection-by-default * Merge refs/heads/master into enable-local-protection-by-default * Merge refs/heads/master into enable-local-protection-by-default
This commit is contained in:
parent
cf57db910c
commit
208659d7f5
@ -264,8 +264,9 @@ func ConfigureValidator(ctx *cli.Context) {
|
||||
cfg.AltonaTestnet = true
|
||||
}
|
||||
if ctx.Bool(enableLocalProtectionFlag.Name) {
|
||||
log.Warn("Enabled validator slashing protection.")
|
||||
cfg.LocalProtection = true
|
||||
} else {
|
||||
log.Warn("Validator slashing protection not enabled!")
|
||||
}
|
||||
if ctx.Bool(enableAccountsV2.Name) {
|
||||
log.Warn("Enabling v2 of Prysm validator accounts")
|
||||
|
@ -61,11 +61,11 @@ var (
|
||||
Usage: "Cache filtered block tree by maintaining it rather than continually recalculating on the fly, " +
|
||||
"this is used for fork choice.",
|
||||
}
|
||||
|
||||
enableLocalProtectionFlag = &cli.BoolFlag{
|
||||
Name: "enable-local-protection",
|
||||
Usage: "Enables functionality to prevent the validator client from signing and " +
|
||||
"broadcasting any messages that could be considered slashable according to its own history.",
|
||||
Value: true,
|
||||
}
|
||||
enableExternalSlasherProtectionFlag = &cli.BoolFlag{
|
||||
Name: "enable-external-slasher-protection",
|
||||
|
Loading…
Reference in New Issue
Block a user