Refactor wallet commands (#2067)

* start wallet command refactoring

* another re-structuring attempt

* rustfmt

* begin splitting up wallet commands

* rustfmt

* clean up wallet arg checking

* rustfmt

* macro for arg parsing

* rustfmt

* factor out init commands

* rustfmt

* move recover to new format

* rustfmt

* add listen command to new format

* rustfmt

* Finish moving commands to new format

* rustfmt

* rustfmt

* propogate errors more cleanly

* rustfmt

* error handling cleanup
This commit is contained in:
Yeastplume
2018-12-06 12:04:02 +00:00
committed by GitHub
parent e8a481e3d4
commit b8c8840cec
37 changed files with 1348 additions and 1000 deletions
+1
View File
@@ -91,6 +91,7 @@ impl From<Context<ErrorKind>> for Error {
}
/// TLS config
#[derive(Clone)]
pub struct TLSConfig {
pub certificate: String,
pub private_key: String,