Add show-validators

This commit is contained in:
Michael Vines
2019-10-14 23:04:15 -07:00
parent 799d6aeb19
commit 47e1ea107b

View File

@ -175,9 +175,7 @@ $ solana send-timestamp <PUBKEY> <PROCESS_ID> --date 2018-12-24T23:59:00
``` ```
## Usage ## Usage
### solana-cli ### solana-cli
```text ```text
solana-cli 0.20.0 solana-cli 0.20.0
Blockchain, Rebuilt for Scale Blockchain, Rebuilt for Scale
@ -225,6 +223,7 @@ SUBCOMMANDS:
show-account Show the contents of an account show-account Show the contents of an account
show-stake-account Show the contents of a stake account show-stake-account Show the contents of a stake account
show-storage-account Show the contents of a storage account show-storage-account Show the contents of a storage account
show-validators Show information about the current validators
show-vote-account Show the contents of a vote account show-vote-account Show the contents of a vote account
stake-authorize-staker Authorize a new stake signing keypair for the given stake account stake-authorize-staker Authorize a new stake signing keypair for the given stake account
stake-authorize-withdrawer Authorize a new withdraw signing keypair for the given stake account stake-authorize-withdrawer Authorize a new withdraw signing keypair for the given stake account
@ -236,7 +235,6 @@ SUBCOMMANDS:
``` ```
#### solana-address #### solana-address
```text ```text
solana-address solana-address
Get your public key Get your public key
@ -255,7 +253,6 @@ OPTIONS:
``` ```
#### solana-airdrop #### solana-airdrop
```text ```text
solana-airdrop solana-airdrop
Request lamports Request lamports
@ -280,7 +277,6 @@ ARGS:
``` ```
#### solana-balance #### solana-balance
```text ```text
solana-balance solana-balance
Get your balance Get your balance
@ -303,7 +299,6 @@ ARGS:
``` ```
#### solana-cancel #### solana-cancel
```text ```text
solana-cancel solana-cancel
Cancel a transfer Cancel a transfer
@ -325,7 +320,6 @@ ARGS:
``` ```
#### solana-claim-storage-reward #### solana-claim-storage-reward
```text ```text
solana-claim-storage-reward solana-claim-storage-reward
Redeem storage reward credits Redeem storage reward credits
@ -348,7 +342,6 @@ ARGS:
``` ```
#### solana-cluster-version #### solana-cluster-version
```text ```text
solana-cluster-version solana-cluster-version
Get the version of the cluster entrypoint Get the version of the cluster entrypoint
@ -367,7 +360,6 @@ OPTIONS:
``` ```
#### solana-confirm #### solana-confirm
```text ```text
solana-confirm solana-confirm
Confirm transaction by signature Confirm transaction by signature
@ -389,7 +381,6 @@ ARGS:
``` ```
#### solana-create-replicator-storage-account #### solana-create-replicator-storage-account
```text ```text
solana-create-replicator-storage-account solana-create-replicator-storage-account
Create a replicator storage account Create a replicator storage account
@ -408,11 +399,10 @@ OPTIONS:
ARGS: ARGS:
<STORAGE ACCOUNT OWNER PUBKEY> <STORAGE ACCOUNT OWNER PUBKEY>
<STORAGE ACCOUNT PUBKEY> <STORAGE ACCOUNT PUBKEY>
``` ```
#### solana-create-stake-account #### solana-create-stake-account
```text ```text
solana-create-stake-account solana-create-stake-account
Create a stake account Create a stake account
@ -441,7 +431,6 @@ ARGS:
``` ```
#### solana-create-validator-storage-account #### solana-create-validator-storage-account
```text ```text
solana-create-validator-storage-account solana-create-validator-storage-account
Create a validator storage account Create a validator storage account
@ -460,11 +449,10 @@ OPTIONS:
ARGS: ARGS:
<STORAGE ACCOUNT OWNER PUBKEY> <STORAGE ACCOUNT OWNER PUBKEY>
<STORAGE ACCOUNT PUBKEY> <STORAGE ACCOUNT PUBKEY>
``` ```
#### solana-create-vote-account #### solana-create-vote-account
```text ```text
solana-create-vote-account solana-create-vote-account
Create a vote account Create a vote account
@ -491,7 +479,6 @@ ARGS:
``` ```
#### solana-deactivate-stake #### solana-deactivate-stake
```text ```text
solana-deactivate-stake solana-deactivate-stake
Deactivate the delegated stake from the stake account Deactivate the delegated stake from the stake account
@ -513,7 +500,6 @@ ARGS:
``` ```
#### solana-delegate-stake #### solana-delegate-stake
```text ```text
solana-delegate-stake solana-delegate-stake
Delegate stake to a vote account Delegate stake to a vote account
@ -536,7 +522,6 @@ ARGS:
``` ```
#### solana-deploy #### solana-deploy
```text ```text
solana-deploy solana-deploy
Deploy a program Deploy a program
@ -558,7 +543,6 @@ ARGS:
``` ```
#### solana-fees #### solana-fees
```text ```text
solana-fees solana-fees
Display current cluster fees Display current cluster fees
@ -577,7 +561,6 @@ OPTIONS:
``` ```
#### solana-get #### solana-get
```text ```text
solana-get solana-get
Get cli config settings Get cli config settings
@ -599,7 +582,6 @@ ARGS:
``` ```
#### solana-get-epoch-info #### solana-get-epoch-info
```text ```text
solana-get-epoch-info solana-get-epoch-info
Get information about the current epoch Get information about the current epoch
@ -618,7 +600,6 @@ OPTIONS:
``` ```
#### solana-get-genesis-blockhash #### solana-get-genesis-blockhash
```text ```text
solana-get-genesis-blockhash solana-get-genesis-blockhash
Get the genesis blockhash Get the genesis blockhash
@ -637,7 +618,6 @@ OPTIONS:
``` ```
#### solana-get-slot #### solana-get-slot
```text ```text
solana-get-slot solana-get-slot
Get current slot Get current slot
@ -656,7 +636,6 @@ OPTIONS:
``` ```
#### solana-get-transaction-count #### solana-get-transaction-count
```text ```text
solana-get-transaction-count solana-get-transaction-count
Get current transaction count Get current transaction count
@ -675,7 +654,6 @@ OPTIONS:
``` ```
#### solana-help #### solana-help
```text ```text
solana-help solana-help
Prints this message or the help of the given subcommand(s) Prints this message or the help of the given subcommand(s)
@ -688,7 +666,6 @@ ARGS:
``` ```
#### solana-pay #### solana-pay
```text ```text
solana-pay solana-pay
Send a payment Send a payment
@ -717,7 +694,6 @@ ARGS:
``` ```
#### solana-ping #### solana-ping
```text ```text
solana-ping solana-ping
Submit transactions sequentially Submit transactions sequentially
@ -739,7 +715,6 @@ OPTIONS:
``` ```
#### solana-redeem-vote-credits #### solana-redeem-vote-credits
```text ```text
solana-redeem-vote-credits solana-redeem-vote-credits
Redeem credits in the stake account Redeem credits in the stake account
@ -762,7 +737,6 @@ ARGS:
``` ```
#### solana-send-signature #### solana-send-signature
```text ```text
solana-send-signature solana-send-signature
Send a signature to authorize a transfer Send a signature to authorize a transfer
@ -785,7 +759,6 @@ ARGS:
``` ```
#### solana-send-timestamp #### solana-send-timestamp
```text ```text
solana-send-timestamp solana-send-timestamp
Send a timestamp to unlock a transfer Send a timestamp to unlock a transfer
@ -809,7 +782,6 @@ ARGS:
``` ```
#### solana-set #### solana-set
```text ```text
solana-set solana-set
Set a cli config setting Set a cli config setting
@ -828,7 +800,6 @@ OPTIONS:
``` ```
#### solana-show-account #### solana-show-account
```text ```text
solana-show-account solana-show-account
Show the contents of an account Show the contents of an account
@ -852,7 +823,6 @@ ARGS:
``` ```
#### solana-show-stake-account #### solana-show-stake-account
```text ```text
solana-show-stake-account solana-show-stake-account
Show the contents of a stake account Show the contents of a stake account
@ -875,7 +845,6 @@ ARGS:
``` ```
#### solana-show-storage-account #### solana-show-storage-account
```text ```text
solana-show-storage-account solana-show-storage-account
Show the contents of a storage account Show the contents of a storage account
@ -896,8 +865,26 @@ ARGS:
<STORAGE ACCOUNT PUBKEY> Storage account pubkey <STORAGE ACCOUNT PUBKEY> Storage account pubkey
``` ```
#### solana-show-vote-account #### solana-show-validators
```text
solana-show-validators
Show information about the current validators
USAGE:
solana show-validators [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--lamports Display balance in lamports instead of SOL
-V, --version Prints version information
OPTIONS:
-C, --config <PATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <PATH> /path/to/id.json
```
#### solana-show-vote-account
```text ```text
solana-show-vote-account solana-show-vote-account
Show the contents of a vote account Show the contents of a vote account
@ -920,7 +907,6 @@ ARGS:
``` ```
#### solana-stake-authorize-staker #### solana-stake-authorize-staker
```text ```text
solana-stake-authorize-staker solana-stake-authorize-staker
Authorize a new stake signing keypair for the given stake account Authorize a new stake signing keypair for the given stake account
@ -943,7 +929,6 @@ ARGS:
``` ```
#### solana-stake-authorize-withdrawer #### solana-stake-authorize-withdrawer
```text ```text
solana-stake-authorize-withdrawer solana-stake-authorize-withdrawer
Authorize a new withdraw signing keypair for the given stake account Authorize a new withdraw signing keypair for the given stake account
@ -966,7 +951,6 @@ ARGS:
``` ```
#### solana-uptime #### solana-uptime
```text ```text
solana-uptime solana-uptime
Show the uptime of a validator, based on epoch voting history Show the uptime of a validator, based on epoch voting history
@ -990,7 +974,6 @@ ARGS:
``` ```
#### solana-validator-info #### solana-validator-info
```text ```text
solana-validator-info solana-validator-info
Publish/get Validator info on Solana Publish/get Validator info on Solana
@ -1014,7 +997,6 @@ SUBCOMMANDS:
``` ```
#### solana-vote-authorize-voter #### solana-vote-authorize-voter
```text ```text
solana-vote-authorize-voter solana-vote-authorize-voter
Authorize a new vote signing keypair for the given vote account Authorize a new vote signing keypair for the given vote account
@ -1037,7 +1019,6 @@ ARGS:
``` ```
#### solana-vote-authorize-withdrawer #### solana-vote-authorize-withdrawer
```text ```text
solana-vote-authorize-withdrawer solana-vote-authorize-withdrawer
Authorize a new withdraw signing keypair for the given vote account Authorize a new withdraw signing keypair for the given vote account
@ -1060,7 +1041,6 @@ ARGS:
``` ```
#### solana-withdraw-stake #### solana-withdraw-stake
```text ```text
solana-withdraw-stake solana-withdraw-stake
Withdraw the unstaked lamports from the stake account Withdraw the unstaked lamports from the stake account