Implement the basic structure of the beacon node.

This commit is contained in:
Age Manning
2019-03-01 12:45:01 +11:00
parent 19a64f906e
commit 2e020a3efa
14 changed files with 188 additions and 56 deletions

View File

@@ -1,12 +1,9 @@
extern crate slog;
mod config;
mod error;
mod rpc;
mod run;
use clap::{App, Arg};
use config::Config;
use client::ClientConfig;
use slog::{o, Drain};
fn main() {
@@ -43,7 +40,7 @@ fn main() {
.get_matches();
// invalid arguments, panic
let config = Config::parse_args(matches, &logger).unwrap();
let config = ClientConfig::parse_args(matches, &logger).unwrap();
run::run_beacon_node(config, &logger);
run::run_beacon_node(config, logger);
}