Add validator-info CLI (#4970)

* Add validator-info CLI

* Add GetProgramAccounts method to solana-client

* Update validator-info args, and add get subcommand

* Update ValidatorInfo lengths

* Add account filter for get --all

* Update testnet participation doc to reflect validator-info

* Flesh out tests

* Review comments
This commit is contained in:
Tyera Eulberg
2019-07-11 12:38:52 -06:00
committed by GitHub
parent 08f6de0acd
commit 2c8d6f87e6
9 changed files with 580 additions and 0 deletions

16
Cargo.lock generated
View File

@@ -2865,6 +2865,22 @@ dependencies = [
"solana-vote-signer 0.17.0",
]
[[package]]
name = "solana-validator-info"
version = "0.17.0"
dependencies = [
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
"dirs 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.94 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.94 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
"solana-client 0.17.0",
"solana-config-api 0.17.0",
"solana-sdk 0.17.0",
"url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "solana-vote-api"
version = "0.17.0"