Advertise node software version in gossip (#9981)

* Advertise node version in gossip

* Remove solana_clap_utils::version! macro
This commit is contained in:
Michael Vines
2020-05-11 15:02:01 -07:00
committed by GitHub
parent 965204b8e0
commit 2521f75c18
50 changed files with 223 additions and 66 deletions

View File

@ -20,6 +20,7 @@ serde_derive = "1.0.103"
socket2 = "0.3.12"
solana-clap-utils = { path = "../clap-utils", version = "1.2.0" }
solana-logger = { path = "../logger", version = "1.2.0" }
solana-version = { path = "../version", version = "1.2.0" }
tokio = "0.1"
tokio-codec = "0.1"

View File

@ -3,7 +3,7 @@ use clap::{App, Arg};
fn main() {
solana_logger::setup();
let matches = App::new("solana-ip-address")
.version(solana_clap_utils::version!())
.version(solana_version::version!())
.arg(
Arg::with_name("host_port")
.index(1)

View File

@ -4,7 +4,7 @@ use std::net::{SocketAddr, TcpListener};
fn main() {
solana_logger::setup();
let matches = App::new("solana-ip-address-server")
.version(solana_clap_utils::version!())
.version(solana_version::version!())
.arg(
Arg::with_name("port")
.index(1)