Michael Vines
7e7cbec8a1
Passing -v/--verbose to `solana confirm` now displays the full transaction
2020-04-16 08:19:30 -07:00
Tyera Eulberg
5298e3872c
Cli: enable json output ( #9478 )
...
automerge
2020-04-14 12:10:25 -07:00
Michael Vines
5a0c2a0c1d
Rename UpdateNode to UpdateValidatorIdentity
2020-04-13 17:25:39 -07:00
dependabot-preview[bot]
230f014b9e
Bump thiserror from 1.0.14 to 1.0.15
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.14...1.0.15 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 09:13:04 -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
c86b0d8a85
Remove "Credits Observed:" field from `solana stake-account` output
2020-04-12 12:42:18 -07:00
sakridge
900933bbcc
Reduce rpc test code ( #9413 )
...
automerge
2020-04-09 18:05:56 -07:00
Tyera Eulberg
638108e9d5
Add --no-wait arg to transfer ( #9388 )
...
automerge
2020-04-08 22:46:19 -07:00
Tyera Eulberg
6b988155e1
RpcClient: include signature check in send_transaction, bump send retries in get_num_blocks_since_signature_confirmation ( #9341 )
...
* Bump rpc send retries
* Add signature check to send_transaction and update mocks to test
2020-04-06 19:27:37 -06:00
Tyera Eulberg
96c23110ae
Make TestValidator mint_lamports configurable ( #9337 )
...
automerge
2020-04-06 16:20:55 -07:00
dependabot-preview[bot]
62cb2cd13c
Bump serde_json from 1.0.49 to 1.0.51
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.49 to 1.0.51.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.49...v1.0.51 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-06 08:40:55 -07:00
dependabot-preview[bot]
8cdf406dd3
Bump serde from 1.0.105 to 1.0.106
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.105 to 1.0.106.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.105...v1.0.106 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-04 15:13:52 -07:00
Michael Vines
66c78cb819
Apply suggestions from code review
2020-04-03 09:58:40 -07:00
Michael Vines
962e41f9ca
`vote-authorize-voter` no longer fails if the current authorized voter is not the fee payer
2020-04-03 09:58:40 -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
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
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
Jack May
9aab0b9388
More custom error rename ( #9227 )
...
automerge
2020-04-01 11:13:31 -07:00
Jack May
268e04cb4a
Rename CustomError to Custom ( #9207 )
2020-04-01 09:01:11 -07:00
dependabot-preview[bot]
8731b6279f
Bump thiserror from 1.0.13 to 1.0.14 ( #9151 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.13...1.0.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-29 15:33:11 -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
dependabot-preview[bot]
2ed3e2160d
Bump serde_json from 1.0.48 to 1.0.49 ( #9139 )
...
* Bump serde_json from 1.0.48 to 1.0.49
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.48...v1.0.49 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Update serde_json in programs
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Justin Starry <justin@solana.com>
2020-03-28 12:19:40 -07:00
Michael Vines
d7fa40087c
Bump version to 1.2.0
2020-03-28 09:44:13 -07:00
Michael Vines
4a8b1d9b2c
RpcClient now returns Signatures instead of Strings ( #9129 )
2020-03-27 15:46:00 -07:00
Michael Vines
864d212c64
`solana account` now displays the account's rent epoch ( #9114 )
2020-03-27 08:58:21 -07:00
dependabot-preview[bot]
e744b15ad2
Bump thiserror from 1.0.12 to 1.0.13 ( #9017 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.12 to 1.0.13.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.12...1.0.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-24 10:51:24 -07:00
Greg Fitzgerald
b08f8d3103
Add stake-account to docs ( #9010 )
2020-03-22 12:20:24 -06:00
Trent Nelson
2592894958
CLI: Support setting both stake authorities at once ( #8976 )
...
automerge
2020-03-21 18:56:17 -07:00
dependabot-preview[bot]
85027caf42
Bump thiserror from 1.0.11 to 1.0.12 ( #9000 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.11...1.0.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-21 14:52:25 -06:00
Greg Fitzgerald
ca4a22d4ba
Distinguish account addresses from public keys ( #8998 )
2020-03-21 13:30:01 -06:00
Jack May
e28368ff1b
Move address creation with seed into pubkey ( #8991 )
2020-03-20 15:20:48 -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
6b9a0935c1
Some Cli polish ( #8966 )
...
automerge
2020-03-19 12:03:36 -07:00
Trent Nelson
ff4ba54553
CLI: Fix `create-nonce-account` with seed ( #8929 )
...
* CLI: Fix `create-nonce-account --seed ...`
* CLI: Add test another for `create-nonce-account --seed...`
Explicitly demonstrates a partner workflow with the following
requirements:
1) Nonce account address derived from an offline nonce
authority address
2) Fully online account creation
3) Account creation in a single signing session
* alphabetize
2020-03-19 10:36:53 -06:00
Michael Vines
f78a90bce2
Vote InitializeAccount and UpdateNode instructions now need a signature from the validator identity ( #8947 )
...
automerge
2020-03-19 01:58:52 -07:00
dependabot-preview[bot]
24d871b529
Bump serde from 1.0.104 to 1.0.105 ( #8954 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.104 to 1.0.105.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.104...v1.0.105 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-18 22:35:30 -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
f0414711b7
Cli: add spinner progress bar when waiting for transaction confirmation ( #8916 )
...
* Add _with_spinner method
* Use _with_spinner method in cli
2020-03-17 17:58:02 -06:00
Tyera Eulberg
6077458ad8
Cli: enable flexible flexible signer paths for pubkey args ( #8892 )
...
automerge
2020-03-16 15:17:13 -07:00
Greg Fitzgerald
563da2bb18
Cleanup CLI types ( #8888 )
2020-03-16 12:27:09 -06:00
Greg Fitzgerald
eab4fe50a3
Use types for CLI value names ( #8878 )
...
* Use types for CLI value names
* keygen too
* More cleanup
* nonce keypair -> pubkey
2020-03-16 09:24:59 -06: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
29fb79382c
Rework validator vote account defaults to half voting fees
2020-03-13 20:13:33 -07:00
Tyera Eulberg
5c2cf04e10
Enable any signer in various cli subcommands ( #8844 )
...
automerge
2020-03-13 16:06:33 -07:00
Sunny Gleason
96a61cc4e4
Cli: add subcommand to withdraw from vote account ( #8550 )
...
* feat: cli command for vote account withdraw
* Rework names
* Update to flexible signer, and make consistent with other cli apis
* Add integration test
* Clean up default help msg
Co-authored-by: Michael Vines <mvines@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2020-03-13 14:30:04 -06:00
Trent Nelson
fbf2dd1672
CLI: Error message cleanup ( #8804 )
...
automerge
2020-03-12 23:20:49 -07:00
Jack May
6eb4973780
Don't use move semantics if not needed ( #8793 )
2020-03-11 14:37:23 -07:00
dependabot-preview[bot]
215650f6e7
Bump console from 0.9.2 to 0.10.0 ( #8786 )
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-11 12:30:15 -06:00