mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
Strict slashing protection by default (#1750)
## Proposed Changes Replace `--strict-slashing-protection` by `--init-slashing-protection` and remove mentions of `--auto-register`
This commit is contained in:
@@ -106,6 +106,14 @@ pub fn testing_client_config() -> ClientConfig {
|
||||
client_config
|
||||
}
|
||||
|
||||
pub fn testing_validator_config() -> ValidatorConfig {
|
||||
ValidatorConfig {
|
||||
init_slashing_protection: true,
|
||||
disable_auto_discover: false,
|
||||
..ValidatorConfig::default()
|
||||
}
|
||||
}
|
||||
|
||||
/// Contains the directories for a `LocalValidatorClient`.
|
||||
///
|
||||
/// This struct is separate to `LocalValidatorClient` to allow for pre-computation of validator
|
||||
|
||||
Reference in New Issue
Block a user