More project-wide fixes for new DB

This commit is contained in:
Paul Hauner
2019-05-21 17:45:35 +10:00
parent 058829b64d
commit b62f4477e1
8 changed files with 48 additions and 36 deletions

View File

@@ -74,7 +74,7 @@ fn main() {
.value_name("DB")
.help("Type of database to use.")
.takes_value(true)
.possible_values(&["rocks", "memory"])
.possible_values(&["disk", "memory"])
.default_value("memory"),
)
.get_matches();

View File

@@ -1,7 +1,6 @@
use client::client_types::{DiskDBTestingClientType, MemoryDBTestingClientType};
use client::error;
use client::{error, DBType};
use client::{notifier, Client, ClientConfig, ClientTypes};
use db::DBType;
use futures::sync::oneshot;
use futures::Future;
use slog::info;
@@ -26,7 +25,7 @@ pub fn run_beacon_node(config: ClientConfig, log: &slog::Logger) -> error::Resul
let executor = runtime.executor();
match config.db_type {
DBType::RocksDB => {
DBType::Disk => {
info!(
log,
"BeaconNode starting";