mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-22 14:24:44 +00:00
Use configurable sync distance tiers
This commit is contained in:
@@ -371,6 +371,24 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
|
||||
connected Beacon Node.")
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("beacon-node-small-sync-distance-modifier")
|
||||
.long("beacon-node-small-sync-distance-modifier")
|
||||
.help("Only use this if you know what you are doing. Incorrectly setting this value \
|
||||
can result in suboptimal fallback behaviour. Sets the size (in slots) of the \
|
||||
`small` sync distance range when calculating the health tiers of connected \
|
||||
Beacon Nodes. The range falls immediately after the end of the `synced` range.")
|
||||
.takes_value(true)
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("beacon-node-medium-sync-distance-modifier")
|
||||
.long("beacon-node-medium-sync-distance-modifier")
|
||||
.help("Only use this if you know what you are doing. Incorrectly setting this value \
|
||||
can result in suboptimal fallback behaviour. Sets the size (in slots) of the \
|
||||
`medium` sync distance range when calculating the health tiers of connected \
|
||||
Beacon Nodes. The range falls immediately after the end of the `small` range.")
|
||||
.takes_value(true)
|
||||
)
|
||||
/*
|
||||
* Experimental/development options.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user