mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 04:01:51 +00:00
Enable count-unrealized by default (#3389)
## Issue Addressed Enable https://github.com/sigp/lighthouse/pull/3322 by default on all networks. The feature can be opted out of using `--count-unrealized=false` (the CLI flag is updated to take a parameter).
This commit is contained in:
@@ -752,8 +752,9 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
|
||||
Arg::with_name("count-unrealized")
|
||||
.long("count-unrealized")
|
||||
.hidden(true)
|
||||
.help("**EXPERIMENTAL** Enables an alternative, potentially more performant FFG \
|
||||
vote tracking method.")
|
||||
.takes_value(false)
|
||||
.help("Enables an alternative, potentially more performant FFG \
|
||||
vote tracking method.")
|
||||
.takes_value(true)
|
||||
.default_value("true")
|
||||
)
|
||||
}
|
||||
|
||||
@@ -630,9 +630,8 @@ pub fn get_config<E: EthSpec>(
|
||||
client_config.chain.fork_choice_before_proposal_timeout_ms = timeout;
|
||||
}
|
||||
|
||||
if cli_args.is_present("count-unrealized") {
|
||||
client_config.chain.count_unrealized = true;
|
||||
}
|
||||
client_config.chain.count_unrealized =
|
||||
clap_utils::parse_required(cli_args, "count-unrealized")?;
|
||||
|
||||
/*
|
||||
* Builder fallback configs.
|
||||
|
||||
Reference in New Issue
Block a user