mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-11 18:04:18 +00:00
Reduce finalization migration frequency
This commit is contained in:
@@ -170,6 +170,7 @@ where
|
||||
.task_executor(context.executor.clone())
|
||||
.custom_spec(spec.clone())
|
||||
.chain_config(chain_config)
|
||||
.store_migrator_config(config.store_migrator.clone())
|
||||
.graffiti(graffiti)
|
||||
.event_handler(event_handler)
|
||||
.execution_layer(execution_layer)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
use beacon_chain::migrate::MigratorConfig;
|
||||
use directory::DEFAULT_ROOT_DIR;
|
||||
use network::NetworkConfig;
|
||||
use sensitive_url::SensitiveUrl;
|
||||
@@ -64,6 +65,7 @@ pub struct Config {
|
||||
/// via the CLI at runtime, instead of from a configuration file saved to disk.
|
||||
pub genesis: ClientGenesis,
|
||||
pub store: store::StoreConfig,
|
||||
pub store_migrator: MigratorConfig,
|
||||
pub network: network::NetworkConfig,
|
||||
pub chain: beacon_chain::ChainConfig,
|
||||
pub eth1: eth1::Config,
|
||||
@@ -83,6 +85,7 @@ impl Default for Config {
|
||||
log_file: PathBuf::from(""),
|
||||
genesis: <_>::default(),
|
||||
store: <_>::default(),
|
||||
store_migrator: <_>::default(),
|
||||
network: NetworkConfig::default(),
|
||||
chain: <_>::default(),
|
||||
dummy_eth1_backend: false,
|
||||
|
||||
Reference in New Issue
Block a user