mergify[bot]
82783b18ea
Rpc: optionally filter getLargestAccounts by circulating/nonCirculating ( #10007 ) ( #10014 )
...
automerge
2020-05-12 21:54:44 -07:00
mergify[bot]
206ff02be9
Fix up a couple cli commands that fail when a node is in the --wait-for-supermajority
state ( #9985 ) ( #9991 )
...
automerge
(cherry picked from commit 3b9dc50541
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-05-11 19:48:59 -07:00
mergify[bot]
c00ec26a3b
Cli: Add solana supply command; hide total-supply (bp #9956 ) ( #9963 )
...
automerge
2020-05-10 18:04:46 -07:00
mergify[bot]
a08235da9a
send_and_confirm_transaction() no longer needs a keypair ( #9950 ) ( #9962 )
...
automerge
2020-05-10 10:14:31 -07:00
Tyera Eulberg
9a5fc3513a
Add using OutputFormat enum to --sign-only transactions ( #9650 ) ( #9911 )
...
automerge
2020-05-06 23:19:36 -07:00
mergify[bot]
a9d2fa6aad
Cli: Update OutputFormat method to return a String to restore consistency ( #9904 ) ( #9905 )
...
automerge
2020-05-06 20:51:45 -07:00
mergify[bot]
8cb3953c9a
Cli: add cluster-date subcommand, and make block-time slot optional ( #9878 ) ( #9883 )
...
automerge
2020-05-05 10:19:10 -07:00
Tyera Eulberg
3aa52f95a2
v1.1 backport custom error rename ( #9826 )
...
* Add program_error conversions (#9203 )
* Rename CustomError to Custom (#9207 )
* More custom error rename (#9227 )
automerge
* Remove librapay conflicts
* Fix rebase
Co-authored-by: Jack May <jack@solana.com >
2020-04-30 23:54:11 -06:00
mergify[bot]
b7bd9d9fbb
Nit: More informative error message ( #9616 ) ( #9816 )
...
automerge
2020-04-30 00:54:47 -07:00
mergify[bot]
c0b250285a
Add custodian option to withdraw-stake command (bp #9662 ) ( #9675 )
...
* Merge stake::withdraw instructions (#9617 )
* Add custodian option to withdraw-stake command (#9662 )
automerge
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-04-22 20:30:46 -07:00
mergify[bot]
34df5ad364
cli: Add transaction-history (bp #9614 ) ( #9623 )
...
automerge
2020-04-21 10:49:24 -07:00
mergify[bot]
6ca69a1525
Add decode-transaction ( #9608 )
...
automerge
2020-04-20 14:20:09 -07:00
mergify[bot]
8f9f11e37f
Tame wallet manager better ( #9567 ) ( #9575 )
...
automerge
2020-04-18 13:37:40 -07:00
mergify[bot]
13e5b479eb
confirm --verbose now displays failed transactions ( #9562 )
...
automerge
2020-04-17 14:56:58 -07:00
mergify[bot]
cb2dd56317
Passing -v/--verbose to solana confirm
now displays the full transaction ( #9530 )
...
automerge
2020-04-16 10:01:42 -07:00
mergify[bot]
d7c43f0c0b
Cli: enable json output ( #9478 ) ( #9495 )
...
automerge
2020-04-14 14:22:23 -07:00
mergify[bot]
3379a8470d
Add --no-wait arg to transfer ( #9388 ) ( #9391 )
...
automerge
2020-04-09 00:05:06 -07:00
mergify[bot]
6ea74c3d29
RpcClient: include signature check in send_transaction, bump send retries in get_num_blocks_since_signature_confirmation ( #9341 ) ( #9346 )
...
automerge
2020-04-06 20:24:27 -07:00
mergify[bot]
47ddb84078
cli: Add --follow option to catchup command to allow for easy ongoing monitoring between two nodes (bp #9260 ) ( #9278 )
...
automerge
2020-04-02 20:43:19 -07:00
mergify[bot]
c1acfe4843
Add epoch subcommand ( #9249 ) ( #9255 )
...
automerge
2020-04-01 21:41:22 -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
Trent Nelson
2592894958
CLI: Support setting both stake authorities at once ( #8976 )
...
automerge
2020-03-21 18:56:17 -07: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
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
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
Trent Nelson
0422af2aae
CLI: Plumb nonce-stored fees ( #8750 )
...
automerge
2020-03-11 11:14:15 -07:00
Trent Nelson
261732f140
CLI Nonce account access dereplicode ( #8743 )
...
* Spruce up CliNonceError
* Add nonce account access helpers
* Use helpers throughout
2020-03-10 13:00:15 -06:00
Greg Fitzgerald
5fa397ceed
Remove --derivation-path option ( #8741 )
...
automerge
2020-03-09 17:49:01 -07:00
Michael Vines
756ba07b16
Move cli-config default out of cli/ into cli-config/
2020-03-09 15:43:14 -07:00
Michael Vines
132a2a73af
Add total-supply command ( #8722 )
...
automerge
2020-03-09 01:28:44 -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
Trent Nelson
fd00e5cb35
Store FeeCalculator with blockhash in nonce accounts ( #8650 )
...
* Copy current state version to v0
* Add `FeeCalculator` to nonce state
* fixup compile
* Dump v0 handling...
Since we new account data is all zeros, new `Current` versioned accounts
look like v0. We could hack around this with some data size checks, but
the `account_utils::*State` traits are applied to `Account`, not the
state data, so we're kind SOL...
* Create more representative test `RecentBlockhashes`
* Improve CLI nonce account display
Co-Authored-By: Michael Vines <mvines@gmail.com >
* Fix that last bank test...
* clippy/fmt
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-03-05 07:40:26 -07:00
Grimes
09a0325534
catchup
now supports an optional RPC URL argument for validators with private RPC (#8629 )
...
automerge
2020-03-04 11:44:13 -08:00
Trent Nelson
1cc7131bb7
Consolidate Nonce state under one struct ( #8624 )
...
automerge
2020-03-04 08:51:48 -08:00
Trent Nelson
1cb6101c6a
SDK: Add versioning to nonce state ( #8607 )
2020-03-03 19:39:09 -07:00
Trent Nelson
be0cc0273f
SDK: Re-org nonce state module to facilitate versioning ( #8603 )
...
automerge
2020-03-03 17:00:39 -08:00