mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-31 05:07:12 +00:00
Modularize beacon node backend (#4718)
#4669 Modularize the beacon node backend to make it easier to add new database implementations
This commit is contained in:
@@ -432,6 +432,10 @@ pub fn get_config<E: EthSpec>(
|
||||
warn!(log, "The slots-per-restore-point flag is deprecated");
|
||||
}
|
||||
|
||||
if let Some(backend) = clap_utils::parse_optional(cli_args, "beacon-node-backend")? {
|
||||
client_config.store.backend = backend;
|
||||
}
|
||||
|
||||
if let Some(hierarchy_config) = clap_utils::parse_optional(cli_args, "hierarchy-exponents")? {
|
||||
client_config.store.hierarchy_config = hierarchy_config;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user