Michael Vines
340424e03a
Use minimumLedgerSlot RPC API in block-production command
2020-01-21 14:05:26 -07:00
Michael Vines
356f246a74
Remove get-/show- prefix from cli commands
2020-01-21 08:43:07 -07:00
Michael Vines
a32de96ab1
Add show-stakes subcommand
2020-01-17 14:14:01 -07:00
Ryo Onodera
e710964d05
Revamp the progress of current epoch in get-epoch-info ( #7838 )
...
* Revamp the progress of current epoch in get-epoch-info
* Incorporate suggested more concise labelling
2020-01-17 09:39:47 +09:00
Tyera Eulberg
6d3b8b6d7d
Remove tuples from JSON RPC responses ( #7806 )
...
* Remove RpcConfirmedBlock tuple
* Remove getRecentBlockhash tuple
* Remove getProgramAccounts tuple
* Remove tuple from get_signature_confirmation_status
* Collect Rpc response types
* Camel-case epoch schedule for rpc response
* Remove getBlockCommitment tuple
* Remove getStorageTurn tuple
* Update json-rpc docs
2020-01-15 00:25:45 -07:00
Michael Vines
419da18405
show-block-production: Rename "missed" to "skipped" as not all skipped slots are missed slots ( #7599 )
2019-12-22 22:39:47 -07:00
Michael Vines
d51e42c707
MISSED -> SKIPPED
2019-12-22 10:19:35 -07:00
Michael Vines
d88d8e2dbb
Fix another silly bug
2019-12-21 09:20:12 -07:00
Michael Vines
3f69d58498
ledger-tool: Add --all option to bounds, to display all non-empty slots ( #7592 )
2019-12-20 20:43:53 -07:00
Michael Vines
8886db2000
--verbose now causes show-block-production to list all slots and highlight the specific misses ( #7582 )
2019-12-20 09:38:08 -07:00
Michael Vines
5e6c58716e
Speed up show-block-production command
2019-12-19 10:50:27 -07:00
Michael Vines
ff171baa67
Add show-block-production command
2019-12-19 00:02:11 -07:00
Justin Starry
dad5c62df5
Add uptime column to show-validators ( #7441 )
...
automerge
2019-12-11 22:04:54 -08:00
Tyera Eulberg
11521dca08
Use is_amount clap validator ( #7400 )
...
* Fix up is_amount to handle floats for SOL; expand amount_of test
* Use required_lamports_from and is_amount across CLI
* Remove obsolete test (now handled by clap)
2019-12-10 11:29:17 -07:00
Jack May
19ecce1e32
Fix offline stakes payer ( #7385 )
2019-12-09 23:11:04 -08:00
Michael Vines
5e0a69f68b
Improve get-epoch-info output for longer epoch durations
2019-12-09 23:42:00 -07:00
Michael Vines
deb7ac549c
Adjust show-validators column alignment ( #7359 )
...
automerge
2019-12-08 09:06:35 -08:00
Rob Walker
ae93d574c2
commission as percent ( #7239 )
...
* commission_as_percent
* fixup
2019-12-03 20:55:04 -08:00
Tyera Eulberg
58c144ee55
Add getBlockTime rpc api ( #7130 )
...
* Add getBlockTime rpc api
* Add getBlockTime to docs
* Fix duration rounding for common tick/slot durations; add slot duration calculation
* Expose slots_per_year
* Use genesis values instead of clock defaults to calculate block offset
* Add get-block-time cli subcommand
* Fix test_rent: decrease magic number usage
2019-11-26 00:40:36 -07:00
Michael Vines
d5beb8a9e4
cli: Add --confirmed option to a couple commands, also add --no-header ( #7112 )
...
* Add --confirmed option to get-slot, get-epoch-info, get-transaction-count
* Add --no-header option
2019-11-24 17:34:18 -07:00
Ryo Onodera
7ccc029f77
Make solana ping take optional lamports argument ( #7029 )
...
* Make solana ping take optional lamports argument
* Use clap's default_value
2019-11-19 14:50:09 +09:00
Michael Vines
b2db0b97fc
Add show-gossip command ( #6982 )
2019-11-15 13:15:34 -07:00
Michael Vines
f116cdeed9
Add validator catchup command ( #6922 )
2019-11-13 15:58:14 -07:00
Michael Vines
86faa3f995
Properly type RpcClient::get_version() ( #6919 )
2019-11-12 22:01:04 -07:00
Justin Starry
9807f47d4e
Rename genesis block to genesis config ( #6816 )
2019-11-08 23:56:57 -05:00
Michael Vines
efdfc5c327
Remove TODOs ( #6843 )
2019-11-08 16:43:18 -07:00
Tyera Eulberg
079682fbdc
Add ping cli option to use CommitmentLevel::Max, instead of CommitmentLevel::Recent ( #6775 )
2019-11-06 18:54:17 -07:00
Tyera Eulberg
b3a75a60a4
Use rooted bank by default in rpc bank selection ( #6759 )
...
* Name anonymous parameters for clarity
* Add CommitmentConfig to select bank for rpc
* Add commitment information to jsonrpc docs
* Update send_and_confirm retries as per commitment defaults
* Pass CommitmentConfig into client requests; also various 'use' cleanup
* Use _with_commitment methods to speed local_cluster tests
* Pass CommitmentConfig into Archiver in order to enable quick confirmations in local_cluster tests
* Restore solana ping speed
* Increase wallet-sanity timeout to account for longer confirmation time
2019-11-06 14:15:00 -07:00
Justin Starry
71ff269780
Add show-stake-history command to cli ( #6541 )
2019-10-25 12:20:08 -04:00
Michael Vines
d398898c38
show-validators: display current/delinquent stake, and flag delinquent nodes ( #6525 )
2019-10-23 21:40:35 -07:00
Tyera Eulberg
8319fa05d0
solana-cli: selectively require keypair ( #6477 )
...
* Make parse_command consistent
* Strip pubkey out of parse_stake_create_account
* Move validator-info args into module
* Strip pubkey out of parse_validator_info_command
* Strip pubkey out of parse_vote_create_account
* Strip pubkey out of balance parsing
* Strip pubkey out of parse pay
* Only verify keypair existence if command requires it
* Use struct instead of tuple
2019-10-21 17:08:09 -06:00
Michael Vines
799d6aeb19
Update cluster_query.rs
2019-10-14 23:00:13 -07:00
Michael Vines
d2e28b0f7e
Add show-validators command
2019-10-14 20:38:51 -07:00
Tyera Eulberg
e6676b4d4d
Cli refactor: move cluster query-related functionalities ( #6244 )
...
* Reorder and label parse_command's giant match
* Move cluster query processing into separate module
* Reorder and label process_command match
2019-10-04 19:54:09 -07:00