mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 08:52:54 +00:00
take config value
This commit is contained in:
@@ -195,6 +195,12 @@ pub fn get_config<E: EthSpec>(
|
|||||||
client_config.chain.disable_attesting = true;
|
client_config.chain.disable_attesting = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if let Some(sync_tolerance_epochs) =
|
||||||
|
clap_utils::parse_optional(cli_args, "sync-tolerance-epochs")?
|
||||||
|
{
|
||||||
|
client_config.chain.sync_tolerance_epochs = sync_tolerance_epochs;
|
||||||
|
}
|
||||||
|
|
||||||
if let Some(cache_size) = clap_utils::parse_optional(cli_args, "shuffling-cache-size")? {
|
if let Some(cache_size) = clap_utils::parse_optional(cli_args, "shuffling-cache-size")? {
|
||||||
client_config.chain.shuffling_cache_size = cache_size;
|
client_config.chain.shuffling_cache_size = cache_size;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user