Moved configuration around for validator client.

- Custom datadir/server argument logic moved into configuration, out of main.
 - Updated the validator config directory structure, as per issue #253 suggestions
 - Removed the 'generate 3 random keys' function
 - Updated the README to reflect new structure
 - Just exit if there are no keys, don't generate any (this is for accounts_manager, in a separate commit).
 - Created a lib.rs file, so that the validator client configuration can be included by external crates.
This commit is contained in:
Luke Anderson
2019-03-20 16:23:33 +11:00
parent b000a0972e
commit 49f6e7ac65
5 changed files with 136 additions and 84 deletions

View File

@@ -0,0 +1,3 @@
pub mod config;
pub use crate::config::ValidatorClientConfig;