mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-11 18:04:18 +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:
@@ -57,6 +57,15 @@ pub struct DatabaseManager {
|
||||
)]
|
||||
pub blobs_dir: Option<PathBuf>,
|
||||
|
||||
#[clap(
|
||||
long,
|
||||
value_name = "DATABASE",
|
||||
help = "Set the database backend to be used by the beacon node.",
|
||||
display_order = 0,
|
||||
default_value_t = store::config::DatabaseBackend::LevelDb
|
||||
)]
|
||||
pub backend: store::config::DatabaseBackend,
|
||||
|
||||
#[clap(
|
||||
long,
|
||||
global = true,
|
||||
|
||||
Reference in New Issue
Block a user