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:
+5
-4
@@ -120,10 +120,11 @@ pub fn genesis_testnet4() -> core::Block {
|
||||
nonces: vec![
|
||||
0x46f3b4, 0x1135f8c, 0x1a1596f, 0x1e10f71, 0x41c03ea, 0x63fe8e7, 0x65af34f,
|
||||
0x73c16d3, 0x8216dc3, 0x9bc75d0, 0xae7d9ad, 0xc1cb12b, 0xc65e957, 0xf67a152,
|
||||
0xfac6559, 0x100c3d71, 0x11eea08b, 0x1225dfbb, 0x124d61a1, 0x132a14b4, 0x13f4ec38,
|
||||
0x1542d236, 0x155f2df0, 0x1577394e, 0x163c3513, 0x19349845, 0x19d46953, 0x19f65ed4,
|
||||
0x1a0411b9, 0x1a2fa039, 0x1a72a06c, 0x1b02ddd2, 0x1b594d59, 0x1b7bffd3, 0x1befe12e,
|
||||
0x1c82e4cd, 0x1d492478, 0x1de132a5, 0x1e578b3c, 0x1ed96855, 0x1f222896, 0x1fea0da6,
|
||||
0xfac6559, 0x100c3d71, 0x11eea08b, 0x1225dfbb, 0x124d61a1, 0x132a14b4,
|
||||
0x13f4ec38, 0x1542d236, 0x155f2df0, 0x1577394e, 0x163c3513, 0x19349845,
|
||||
0x19d46953, 0x19f65ed4, 0x1a0411b9, 0x1a2fa039, 0x1a72a06c, 0x1b02ddd2,
|
||||
0x1b594d59, 0x1b7bffd3, 0x1befe12e, 0x1c82e4cd, 0x1d492478, 0x1de132a5,
|
||||
0x1e578b3c, 0x1ed96855, 0x1f222896, 0x1fea0da6,
|
||||
],
|
||||
edge_bits: 29,
|
||||
},
|
||||
|
||||
+1
-1
@@ -39,9 +39,9 @@ extern crate serde_derive;
|
||||
extern crate siphasher;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
extern crate uuid;
|
||||
extern crate chrono;
|
||||
extern crate failure;
|
||||
extern crate uuid;
|
||||
#[macro_use]
|
||||
extern crate failure_derive;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user