mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
Remove disable_run_on_all
This commit is contained in:
@@ -45,8 +45,6 @@ const FUTURE_SLOT_TOLERANCE: Slot = Slot::new(1);
|
|||||||
// Configuration for the Beacon Node fallback.
|
// Configuration for the Beacon Node fallback.
|
||||||
#[derive(Copy, Clone, Debug, Default, Serialize, Deserialize)]
|
#[derive(Copy, Clone, Debug, Default, Serialize, Deserialize)]
|
||||||
pub struct Config {
|
pub struct Config {
|
||||||
/// Disables publishing http api requests to all beacon nodes for select api calls.
|
|
||||||
pub disable_run_on_all: bool,
|
|
||||||
pub sync_tolerances: BeaconNodeSyncDistanceTiers,
|
pub sync_tolerances: BeaconNodeSyncDistanceTiers,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -270,9 +270,6 @@ impl Config {
|
|||||||
/*
|
/*
|
||||||
* Beacon node fallback
|
* Beacon node fallback
|
||||||
*/
|
*/
|
||||||
|
|
||||||
config.beacon_node_fallback.disable_run_on_all = cli_args.get_flag("disable-run-on-all");
|
|
||||||
|
|
||||||
if let Some(sync_tolerance) = cli_args.get_one::<String>("beacon-nodes-sync-tolerances") {
|
if let Some(sync_tolerance) = cli_args.get_one::<String>("beacon-nodes-sync-tolerances") {
|
||||||
config.beacon_node_fallback.sync_tolerances =
|
config.beacon_node_fallback.sync_tolerances =
|
||||||
BeaconNodeSyncDistanceTiers::from_str(sync_tolerance)?;
|
BeaconNodeSyncDistanceTiers::from_str(sync_tolerance)?;
|
||||||
|
|||||||
Reference in New Issue
Block a user