Trent Nelson
16e0a4b412
CLI: Make derived address seed.len() check a clap validator
2021-02-19 23:20:40 +00:00
Tyera Eulberg
d1563f0ccd
Bump tonic, prost, tarpc, tokio ( #15013 )
...
* Update tonic & prost, and regenerate proto
* Reignore doc code
* Revert pull #14367 , but pin tokio to v0.2 for jsonrpc
* Bump backoff and goauth -> and therefore tokio
* Bump tokio in faucet, net-utils
* Bump remaining tokio, plus tarpc
2021-02-05 00:21:53 -07:00
Michael Vines
cbffab7850
Upgrade to Rust v1.49.0
2021-01-23 19:16:36 -08:00
Michael Vines
cbb9ac19b9
Add ability to clone accounts from an RPC endpoint
2021-01-22 13:29:36 -08:00
Tyera Eulberg
a7086a0f83
Cli: promote commitment to a global arg + config.yml ( #14684 )
...
* Make commitment a global arg
* Add commitment to solana/cli/config.yml
* Fixup a couple Display/Verbose bugs
2021-01-20 09:48:10 -07:00
Ryo Onodera
54a5876c48
Introduce rpc url monikers for cli ( #14409 )
...
* Introduce rpc url monikers for cli
* Use https:// and support initials as well
2021-01-05 20:00:55 +09:00
Trent Nelson
a709850ee4
clap-utils: Add epoch validator
2020-12-28 20:03:48 +00:00
Jack May
3316e7166c
Rework upgradeable loader cli ( #14209 )
2020-12-21 13:02:53 -08:00
Michael Vines
1e977ac025
Bump version to v1.6.0
2020-12-15 18:28:04 +00:00
Michael Vines
4ef2da0ff0
Add `solana logs` command
2020-11-25 11:44:41 -08:00
Michael Vines
7bc073defe
Run `codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand`
2020-10-21 19:08:13 -07:00
dependabot[bot]
301f3096a0
chore: bump thiserror from 1.0.20 to 1.0.21
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.20...1.0.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-20 11:19:10 -07:00
guanqun
4451042c76
keygen: add more mnemonic language support ( #12944 )
2020-10-17 10:51:53 +08:00
Michael Vines
11df2e2236
Bump version to v1.5.0
2020-10-08 04:51:36 +00:00
Trent Nelson
4feead323d
clap-utils: Allow fine-tuning offline args
2020-10-07 23:14:39 +00:00
Trent Nelson
972619edb4
clap-utils: Allow nonce/offline args to be global
2020-09-29 10:42:49 -06:00
Tyera Eulberg
35208c5ee7
Enable commitment arg on solana deploy ( #12532 )
2020-09-28 16:24:38 -06:00
Trent Nelson
7cab638297
Factor the rest of CLI offline module out to clap-utils and cli-output crates
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
89cab47011
Move CLI fee payer arg into clap-utils
2020-09-23 15:58:44 -06:00
Trent Nelson
6cf74d1166
Move CLI offline args to clap-utils
2020-09-23 15:58:44 -06:00
Trent Nelson
3fb8428636
Move CLI nonce args to clap-utils
2020-09-23 15:58:44 -06:00
Michael Vines
0ed7b0561e
Improve error message when .config/solana/id.json is not found
2020-09-18 16:29:12 -07:00
Ryo Onodera
53b8ea4464
Rename to ClusterType and restore devnet compat. ( #12068 )
...
* Rename to ClusterType and restore devnet compat.
* De-duplicate parse code and add comments
* Adjust default Devnet genesis & reduce it in tests
2020-09-08 23:55:09 +09:00
Trent Nelson
e12ab9d0dd
Bump version to 1.4.0
2020-08-05 12:04:15 -06:00
dependabot[bot]
2e0fb37bfb
Bump thiserror from 1.0.19 to 1.0.20
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.19 to 1.0.20.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.19...1.0.20 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-15 13:39:32 -07:00
Kristofer Peterson
daa2e6363f
Add generic is_parsable() input validator.
...
Allow input validators to accept &str, &String and String parameters.
2020-06-15 09:30:39 -07:00
R. M. Shea
48febf153b
Change documentation introduction to indicate Foundation IP transfer ( #10440 )
2020-06-13 14:41:05 -07:00
Michael Vines
9eefb2c929
Bump version to 1.3.0
2020-05-28 15:01:13 -07:00
Michael Vines
d5d06e6be0
Add CommitmentConfig::single() support to the cli ( #10114 )
...
automerge
2020-05-19 13:45:21 -07:00
Kristofer Peterson
58ef02f02b
9951 clippy errors in the test suite ( #10030 )
...
automerge
2020-05-15 09:35:43 -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
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
Michael Vines
2521f75c18
Advertise node software version in gossip ( #9981 )
...
* Advertise node version in gossip
* Remove solana_clap_utils::version! macro
2020-05-11 15:02:01 -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
Tyera Eulberg
679e7863cb
Tame wallet manager better ( #9567 )
...
automerge
2020-04-18 11:54:21 -07:00
Michael Vines
47ae57610a
Only build x86_64-unknown-linux-gnu on docs.rs
2020-04-16 19:06:17 -07:00
Tyera Eulberg
ec4745d174
Tame overeager wallet manager ( #9262 )
...
* Add helper fn to check for usb cli args
* Use helper fn to prevent wallet_manager connecting unnecessarily
* Review improvements
2020-04-02 15:47:17 -06:00
Michael Vines
0e2722c638
solana-validator now supports multiple --authorized-voter arguments ( #9174 )
...
* Use Epoch type
* Vote account's authorized voter is now supported without a validator restart
2020-03-31 08:23:42 -07:00
Michael Vines
d7fa40087c
Bump version to 1.2.0
2020-03-28 09:44:13 -07:00
Trent Nelson
98228c392e
CLI: Add multi-session signing support ( #8927 )
...
* SDK: Add `NullSigner` implementation
* SDK: Split `Transaction::verify()` to gain access to results
* CLI: Minor refactor of --sign_only result parsing
* CLI: Enable paritial signing
Signers specified by pubkey, but without a matching --signer arg
supplied fall back to a `NullSigner` when --sign-only is in effect.
This allows their pubkey to be used for TX construction as usual,
but leaves their `sign_message()` a NOP. As such, with --sign-only
in effect, signing and verification must be done separately, with
the latter's per-signature results considered
* CLI: Surface/report missing/bad signers to user
* CLI: Suppress --sign-only JSON output
* nits
* Docs for multi-session offline signing
2020-03-18 20:49:38 -07:00
Tyera Eulberg
6077458ad8
Cli: enable flexible flexible signer paths for pubkey args ( #8892 )
...
automerge
2020-03-16 15:17:13 -07:00
Tyera Eulberg
3c2aff2b5b
Cli: Add resolve-signer subcommand ( #8859 )
...
* Expose remote-wallet device pretty path
* Add resolve-signer helpers
* Add cli resolve-signer subcommand
* Print pretty-path in waiting msg
2020-03-14 20:48:41 -07:00
Michael Vines
ce88602ced
Surface the missing pubkey
2020-03-13 15:57:41 -07:00
Trent Nelson
fbf2dd1672
CLI: Error message cleanup ( #8804 )
...
automerge
2020-03-12 23:20:49 -07:00
Greg Fitzgerald
5fa397ceed
Remove --derivation-path option ( #8741 )
...
automerge
2020-03-09 17:49:01 -07:00
Tyera Eulberg
eab80d0aea
Cli: Fix create-with-seed ( #8706 )
...
* Add failing test
* Fix create-address-with-seed regression
* Add apis to enable generating a pubkey from all various signers
* Enable other signers as --from in create-with-seed
2020-03-09 00:02:24 -06:00
sakridge
bf8e9b3d71
Better error message for cli ( #8702 )
2020-03-08 19:19:34 -07:00
Tyera Eulberg
a7d1346d51
Remove ask-seed-phrase arg from validator, archiver ( #8697 )
...
* Remove ask-seed-phrase from validator
* Update paper-wallet docs
* Remove ask-seed-phrase from archiver
* Remove unused structs, methods
2020-03-06 22:22:23 -07:00