getClusterNodes RPC API now includes the node software version (#9990)

This commit is contained in:
Michael Vines
2020-05-11 21:30:01 -07:00
committed by GitHub
parent 3b9dc50541
commit 84b6120983
3 changed files with 9 additions and 3 deletions

View File

@ -108,6 +108,8 @@ pub struct RpcContactInfo {
pub tpu: Option<SocketAddr>,
/// JSON RPC port
pub rpc: Option<SocketAddr>,
/// Software version
pub version: Option<String>,
}
/// Map of leader base58 identity pubkeys to the slot indices relative to the first epoch slot