Automatic version with cargo.toml (#874)

* Automatic version with cargo.toml

* Add more time for server to start
This commit is contained in:
Quentin Le Sceller
2018-03-26 17:21:03 -04:00
committed by GitHub
parent 16beeca8c9
commit b9b6954d02
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ fn test_p2p() {
let _ = thread::spawn(move || server_two.run_server(120));
// Let them do the handshake
thread::sleep(time::Duration::from_millis(1500));
thread::sleep(time::Duration::from_millis(2000));
// Starting tests
warn!(LOGGER, "Starting P2P Tests");
+2 -1
View File
@@ -15,6 +15,7 @@
//! Main for building the binary of a Grin peer-to-peer node.
extern crate blake2_rfc as blake2;
#[macro_use]
extern crate clap;
extern crate cursive;
extern crate daemonize;
@@ -116,7 +117,7 @@ fn start_server_tui(config: grin::ServerConfig) {
fn main() {
let args = App::new("Grin")
.version("0.1")
.version(crate_version!())
.author("The Grin Team")
.about("Lightweight implementation of the MimbleWimble protocol.")