Michael Vines
35f5f9fc7b
Add feature set identifier to gossiped version information
2020-09-25 11:40:36 -07:00
Trent Nelson
325a7e9f86
Move CLI cli_output module to its own crate
2020-09-23 15:58:44 -06:00
Trent Nelson
0c58123b45
Move CLI Signer utils into clap-utils
2020-09-23 15:58:44 -06:00
Trent Nelson
9a60353fa9
CLI: Encapsulate default signer attributes
2020-09-23 15:58:44 -06:00
Michael Vines
4fa443becf
Simplify cli node version output, display semver only by default
2020-09-22 07:03:43 +00:00
Michael Vines
27752c4e4d
Add block command
2020-09-06 12:45:32 -07:00
Michael Vines
6677996369
Add first-available-block command
2020-09-06 12:45:32 -07:00
Michael Vines
2332dd774f
Add --show-transactions flag to transaction-history command
2020-09-05 08:45:49 -07:00
Tyera Eulberg
39246f9dd7
Revert signature-notification format change ( #12032 )
...
* Use untagged RpcSignatureResult enum to avoid breaking downstream consumers of current signature subscriptions
* Clean up client duplication
* Clippy
2020-09-03 18:14:45 -06:00
Tyera Eulberg
6c5b8f324a
Rpc: Add until parameter for getConfirmedSignaturesForAddress2 ( #11644 )
...
* Refactor bigtable apis to accept start and end keys
* Make helper fn to deserialize cell data
* Refactor get_confirmed_signatures_for_address to use get_row_data range
* Add until param to get_confirmed_signatures_for_address
* Add until param to blockstore api
* Plumb until through client/cli
* Simplify client params
2020-08-15 10:42:17 -06:00
Michael Vines
9abb7db5f8
Upgrade help description
2020-08-05 23:04:16 -07:00
Michael Vines
02c0981ecf
Rename startAfter to before
2020-08-05 14:33:14 -07:00
Michael Vines
087fd32ce3
Reimplement transaction-history command with getConfirmedSignaturesForAddress2
2020-08-05 14:33:14 -07:00
Michael Vines
50c92e3a94
Add block-height subcommand
2020-07-22 13:26:05 -07:00
Greg Fitzgerald
1c498369b5
Remove fee-payer guesswork from Message and Transaction ( #10776 )
...
* Make Message::new_with_payer the default constructor
* Remove Transaction::new_[un]signed_instructions
These guess the fee-payer instead of stating it explicitly
2020-06-24 14:52:38 -06:00
Michael Vines
2c029b844b
Split out current and delinquent validators ( #10702 )
2020-06-18 16:19:32 -07:00
Michael Vines
b297d0b423
Permit users to assign labels to account addresses
2020-06-18 18:46:49 +00:00
Michael Vines
c151e783ca
cli: Add version information to `solana gossip` and `solana validators` ( #10652 )
...
* Add validator version to `solana gossip`
* Add validator version to `solana validators`
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-17 23:04:13 +00:00
Tyera Eulberg
7a741bb79a
Move commitment to CliConfig to enable faster integration tests ( #10627 )
...
* Add commitment config to CliConfig
* Use config.commitment in cluster_query
* Use config.commitment in vote
* Add method with spinner + commitment
* Add send-transaction config to CliConfig
* Remove superfluous nonce check
* Add with_commitment helper fns
* Update src to use commitment
* Fix pay and transfer integration tests
* Fix nonce int tests
* Fix deploy int test
* Fix vote int test
* Fix stake int tests
* Nightly clippy
* Review comments
2020-06-17 12:18:48 -06:00
Kristofer Peterson
e23340d89e
Clippy cleanup for all targets and nighly rust (also support 1.44.0) ( #10445 )
...
* address warnings from 'rustup run beta cargo clippy --workspace'
minor refactoring in:
- cli/src/cli.rs
- cli/src/offline/blockhash_query.rs
- logger/src/lib.rs
- runtime/src/accounts_db.rs
expect some performance improvement AccountsDB::clean_accounts()
* address warnings from 'rustup run beta cargo clippy --workspace --tests'
* address warnings from 'rustup run nightly cargo clippy --workspace --all-targets'
* rustfmt
* fix warning stragglers
* properly fix clippy warnings test_vote_subscribe()
replace ref-to-arc with ref parameters where arc not cloned
* Remove lock around JsonRpcRequestProcessor (#10417 )
automerge
* make ancestors parameter optional to avoid forcing construction of empty hash maps
Co-authored-by: Greg Fitzgerald <greg@solana.com>
2020-06-09 09:38:14 +09:00
Michael Vines
202512d46b
Adapt `solana deploy`
2020-06-01 17:51:04 -07:00
Trent Nelson
e8bf94c2d2
CLI: Don't display inactive stake lockups
2020-05-28 09:45:20 -06:00
Trent Nelson
f9ee97d6f5
CLI: Improve stake (de)activation display
2020-05-27 14:21:09 -06:00
Tyera Eulberg
b6083ca107
Cli: expose last-valid-slot in solana fees ( #10254 )
...
automerge
2020-05-26 14:08:07 -07:00
Michael Vines
56c7e4a66c
ping now reuses the same blockhash for a minute ( #10165 )
2020-05-21 14:11:47 -07:00
Michael Vines
357a00d2bc
transaction-history now searches over the entire history by default ( #10145 )
...
automerge
2020-05-20 14:15:31 -07:00
Greg Fitzgerald
d9919b99d2
Remove folds ( #10128 )
...
automerge
2020-05-19 18:13:41 -07:00
Tyera Eulberg
ed53a70b5c
Cli: transfer ALL; check spend+fee in client ( #10012 )
...
* lamports->SOL in user-facing error msg
* Check for sufficient balance for spend and fee
* Add ALL option to solana transfer
* Rework TransferAmount to check for sign_only in parse
* Refactor TransferAmount & fee-check handling to be more general
* Add addl checks mechanism
* Move checks out of cli.rs
* Rename to SpendAmount to be more general & move
* Impl ALL/spend helpers for create-nonce-account
* Impl spend helpers for create-vote-account
* Impl ALL/spend helpers for create-stake-account
* Impl spend helpers for ping
* Impl ALL/spend helpers for pay
* Impl spend helpers for validator-info
* Remove unused fns
* Remove retry_get_balance
* Add a couple unit tests
* Rework send_util fn signatures
2020-05-14 12:24:14 -06:00
Tyera Eulberg
ee7f15eff1
Rpc: optionally filter getLargestAccounts by circulating/nonCirculating ( #10007 )
...
* Add circ/non-circ filter to getLargestAccounts
* Plumb largest accounts into client and cli
* Bump timeout toward CI flakiness
* Update docs
2020-05-12 21:05:05 -06:00
Michael Vines
3b9dc50541
Fix up a couple cli commands that fail when a node is in the `--wait-for-supermajority` state ( #9985 )
...
automerge
2020-05-11 16:07:40 -07:00
Tyera Eulberg
dd78184f8f
Cli: Add solana supply command; hide total-supply ( #9956 )
...
* Add cli supply command; hide total-supply
* Use print-accounts arg instead of verbose
2020-05-10 12:05:14 -06:00
Tyera Eulberg
65a52a4145
Cli: Update OutputFormat method to return a String to restore consistency ( #9904 )
...
* Update OutputFormat method to return a String to restore consistency
* Remove process_show_account special case
2020-05-06 20:27:15 -06:00
Tyera Eulberg
b2672fd623
Cli: add cluster-date subcommand, and make block-time slot optional ( #9878 )
...
* Add CliBlockTime struct
* Add cli cluster-date subcommand
* Make slot param optional; also jsonify
* Make prints prettier
2020-05-05 09:42:03 -06:00
Kristofer Peterson
3aedb81d48
Avoid panic caused by converting non-positive / non-normal floating points values to duration ( #9867 )
2020-05-04 13:08:27 -07:00
Michael Vines
ffbbdd46e8
Add clap.rs default for --commitment ( #9859 )
2020-05-02 13:06:35 -07:00
Tyera Eulberg
6deaf649ef
Add commitment Root variant, and add fleshed out --commitment arg to Cli ( #9806 )
...
automerge
2020-04-29 21:55:33 -07:00
Michael Vines
6ed29b3653
Don't divide by zero
2020-04-29 11:04:52 -07:00
Michael Vines
0954ea19e8
catchup now estimates the time remaining ( #9782 )
...
automerge
2020-04-28 22:32:12 -07:00
Michael Vines
914b022663
cli: Add transaction-history ( #9614 )
...
automerge
2020-04-20 22:01:09 -07:00
Tyera Eulberg
679e7863cb
Tame wallet manager better ( #9567 )
...
automerge
2020-04-18 11:54:21 -07:00
Tyera Eulberg
5298e3872c
Cli: enable json output ( #9478 )
...
automerge
2020-04-14 12:10:25 -07:00
Michael Vines
3f33f4d3a9
Sort the output of `solana validators` by active stake ( #9459 )
...
automerge
2020-04-12 17:39:02 -07:00
Michael Vines
c5b2db72a2
Add option to monitor catchup at max commitment
2020-04-02 19:05:33 -07:00
Michael Vines
303a1207c1
Add --follow option to catchup command to allow for easy ongoing monitoring between two nodes
2020-04-02 19:05:33 -07:00
Michael Vines
23bf7b8d63
Add epoch subcommand ( #9249 )
...
automerge
2020-04-01 20:42:28 -07:00
sakridge
a8817fb973
Add some information about what an address can be for CLI commands ( #9233 )
2020-04-01 19:45:37 -07:00
Michael Vines
5f31444300
catchup now retries when the desired node is not yet online ( #9148 )
2020-03-29 09:40:53 -07:00
Greg Fitzgerald
c68e80c93b
Improve CLI usage messages ( #8972 )
...
* Improve CLI usage messages
* stragglers
* Apply review feedback
Co-authored-by: Trent Nelson <trent@solana.com>
2020-03-19 21:43:11 -06:00
Tyera Eulberg
6077458ad8
Cli: enable flexible flexible signer paths for pubkey args ( #8892 )
...
automerge
2020-03-16 15:17:13 -07:00
Trent Nelson
fbf2dd1672
CLI: Error message cleanup ( #8804 )
...
automerge
2020-03-12 23:20:49 -07:00