mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-16 03:12:41 +00:00
Merge branch 'remove-into-gossip-verified-block' of https://github.com/realbigsean/lighthouse into merge-unstable-deneb-june-6th
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
use clap::{App, Arg};
|
||||
use strum::VariantNames;
|
||||
use types::ProgressiveBalancesMode;
|
||||
|
||||
pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
|
||||
App::new("beacon_node")
|
||||
@@ -1159,4 +1160,17 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
|
||||
developers. This directory is not pruned, users should be careful to avoid \
|
||||
filling up their disks.")
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("progressive-balances")
|
||||
.long("progressive-balances")
|
||||
.value_name("MODE")
|
||||
.help("Options to enable or disable the progressive balances cache for \
|
||||
unrealized FFG progression calculation. The default `checked` mode compares \
|
||||
the progressive balances from the cache against results from the existing \
|
||||
method. If there is a mismatch, it falls back to the existing method. The \
|
||||
optimized mode (`fast`) is faster but is still experimental, and is \
|
||||
not recommended for mainnet usage at this time.")
|
||||
.takes_value(true)
|
||||
.possible_values(ProgressiveBalancesMode::VARIANTS)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user