Add concept of beacon node configuration TOML

This commit is contained in:
Paul Hauner
2019-06-07 21:00:34 -04:00
parent e73a31c37f
commit f69d9093a3
3 changed files with 58 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ use std::path::PathBuf;
/// The core configuration of a Lighthouse beacon node.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ClientConfig {
data_dir: String,
pub data_dir: String,
pub spec: String,
pub db_type: String,
db_name: String,