mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-17 03:42:46 +00:00
Rework Validator Client fallback mechanism
This commit is contained in:
@@ -119,7 +119,45 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
|
||||
.takes_value(true)
|
||||
.default_value("all")
|
||||
.possible_values(&["one-node", "two-nodes", "mixed", "all"])
|
||||
.help("Sync verification strategy to run."),
|
||||
.help("Sync verification strategy to run."))
|
||||
)
|
||||
.subcommand(
|
||||
SubCommand::with_name("fallback-sim")
|
||||
.about("Run the fallback simulation")
|
||||
.arg(Arg::with_name("vc_count")
|
||||
.short("c")
|
||||
.long("vc-count")
|
||||
.takes_value(true)
|
||||
.default_value("4")
|
||||
.help("Number of validator clients"))
|
||||
.arg(Arg::with_name("bns_per_vc")
|
||||
.short("b")
|
||||
.long("bns_per_vc")
|
||||
.takes_value(true)
|
||||
.default_value("2")
|
||||
.help("Number of beacon nodes to connect to each validator client"))
|
||||
.arg(Arg::with_name("validators_per_vc")
|
||||
.short("v")
|
||||
.long("validators_per_vc")
|
||||
.takes_value(true)
|
||||
.default_value("20")
|
||||
.help("Number of validators per client"))
|
||||
.arg(Arg::with_name("speed_up_factor")
|
||||
.short("s")
|
||||
.long("speed_up_factor")
|
||||
.takes_value(true)
|
||||
.default_value("3")
|
||||
.help("Speed up factor. Please use a divisor of 12."))
|
||||
.arg(Arg::with_name("post-merge")
|
||||
.short("m")
|
||||
.long("post-merge")
|
||||
.takes_value(false)
|
||||
.help("Simulate the merge transition"))
|
||||
.arg(Arg::with_name("continue_after_checks")
|
||||
.short("c")
|
||||
.long("continue_after_checks")
|
||||
.takes_value(false)
|
||||
.help("Continue after checks (default false)")
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user