Michael Vines
a0127e63c6
pay subcommand now accepts a keypair file for convenience ( #6703 )
2019-11-04 09:36:49 -07:00
dependabot-preview[bot]
66f76c8067
Bump console from 0.9.0 to 0.9.1 ( #6700 )
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/compare/0.9.0...0.9.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-03 19:41:16 -08:00
Rob Walker
bc88180058
stake split ( #6402 )
...
* stake split
* stake split
2019-10-31 11:07:27 -07:00
Michael Vines
6d403f2d85
Remove stray println
2019-10-30 14:44:26 -07:00
Tyera Eulberg
4ec95043d7
Update sol:lamport ratio to base-10 ( #6611 )
...
* Update sol:lamport ratio
* Update various SOL quantities in bash scripts
2019-10-29 20:03:48 -06:00
dependabot-preview[bot]
30c0a7d069
Bump serde from 1.0.101 to 1.0.102 ( #6581 )
...
automerge
2019-10-28 09:19:39 -07:00
dependabot-preview[bot]
73dd5aa2d1
Bump serde_derive from 1.0.101 to 1.0.102 ( #6582 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.101 to 1.0.102.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.101...v1.0.102 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 08:24:13 -07:00
Dan Albert
73c31d873e
Update Cargo.toml versions from 0.20.0 to 0.21.0 ( #6568 )
2019-10-25 17:40:49 -06:00
Justin Starry
0cfa3d3de7
Return error if stake history deser fails in cli ( #6559 )
2019-10-25 16:44:09 -05: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
Sunny Gleason
0b2d4f32fa
feat: get epoch schedule rpc, update cli ( #6500 )
2019-10-22 16:41:18 -04:00
Michael Vines
929a81e636
Beautify `solana validator-info get` output ( #6483 )
...
automerge
2019-10-21 17:10:22 -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
Greg Fitzgerald
9232057e95
Rename replicator to archiver ( #6464 )
...
* Rename replicator to archiver
* cargo fmt
* Fix grammar
2019-10-21 11:29:37 -06:00
Michael Vines
eb3093d43e
Beautify show-account output ( #6467 )
...
automerge
2019-10-21 08:48:21 -07:00
Tyera Eulberg
785c2574cd
Check that transaction fee-payer is a debitable account ( #6454 )
...
automerge
2019-10-18 20:39:05 -07: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
dependabot-preview[bot]
2be03ca631
Bump reqwest from 0.9.21 to 0.9.22
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.21 to 0.9.22.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/v0.9.22/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.21...v0.9.22 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-14 16:33:16 -07:00
Trent Nelson
9cde67086f
solana-keygen - Poor mans keypair encryption ( #6259 )
...
* SDK: Refactor (read|write)_keypair
Split file opening and data writing operations
Drop filename == "-" stdio signal. It is an app-level feature
* keygen: Move all non-key printing to stderr
* keygen: Adapt to SDK refactor
* keygen: Factor keypair output out to a helper function
2019-10-10 17:01:03 -06:00
Rob Walker
7cf90766a3
add epoch_schedule sysvar ( #6256 )
...
* add epoch_schedule sysvar
* book sheesh!
2019-10-08 22:34:26 -07:00
Tyera Eulberg
79987e788e
Remove vote pubkey from deactivate_stake ( #6257 )
...
* Remove vote pubkey from deactivate_stake
* Fix test
* Update docs
2019-10-07 16:07:01 -06:00
Tyera Eulberg
4a071b06bd
Remove deprecated script ( #6258 )
2019-10-07 14:14:55 -06: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
dependabot-preview[bot]
896351e0e8
Bump serde_yaml from 0.8.9 to 0.8.11 ( #6246 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.8.9 to 0.8.11.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.9...0.8.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-04 19:33:45 -06:00
Tyera Eulberg
9c9754fa0f
Cli refactor: rename wallet to cli ( #6243 )
...
* Rename Wallet structs to Cli
* Rename wallet to cli more broadly
* Update to cli/config.yml, and update docs
2019-10-04 16:13:21 -06:00
Tyera Eulberg
0c3ff6b75c
Cli refactor: vote and storage program functionalities ( #6242 )
...
automerge
2019-10-04 14:18:19 -07:00
dependabot-preview[bot]
d759a447be
Bump serde_json from 1.0.40 to 1.0.41 ( #6226 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.40...v1.0.41 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-03 21:03:05 -06:00
dependabot-preview[bot]
7ac4ce637f
Bump reqwest from 0.9.20 to 0.9.21 ( #6221 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.20 to 0.9.21.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/v0.9.21/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.20...v0.9.21 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 22:52:48 -07:00
Michael Vines
f9f5bc2eb5
More clippy
2019-10-02 21:21:07 -07:00
Justin Starry
a6363e56b6
Add native_token module to sdk ( #6192 )
2019-10-01 13:53:28 -04:00
Rob Walker
214c041bf7
cli code review ( #6183 )
2019-10-01 10:34:45 -07:00
Tyera Eulberg
fee97236bf
Create vote account with at least 1 lamport ( #6188 )
2019-09-30 17:07:44 -06:00
Parth
2c8c2029d8
cli: enforce rent-exemption balance for stake, vote and program accounts in cli ( #6118 )
...
* require minimum balance for stake, vote and program accounts
2019-10-01 01:14:49 +05:30
Rob Walker
4f4618441c
split wallet staking commands ( #6168 )
...
* split wallet staking commands
* elide real home
* unit->UNIT for usage
* unit->UNIT, don't try to run SUBCOMMANDS: ;)
* more fixup
* fixups
* actually check
* shellcheck
* preserve #6158 after rebase
* fixup
* test
* too hard
* remove test
2019-09-29 21:18:15 -07:00
Michael Vines
e5a7d08966
Add --expected-genesis-blockhash validator argument ( #6174 )
...
automerge
2019-09-29 19:09:24 -07:00
Michael Vines
d50aef8404
Add get-epoch-info command ( #6161 )
...
automerge
2019-09-27 22:00:30 -07:00
Michael Vines
284273a73f
Cleanly error when trying to delegate-stake an existing stake account ( #6158 )
2019-09-27 14:35:49 -07:00
Rob Walker
a964570b1a
add authorities to stake init ( #6104 )
...
* add authorities to stake init
* fixups
* code review
2019-09-26 13:29:29 -07:00
Michael Vines
74a648accb
Enable SOL or lamports for create-vote-account, show-{stake,vote}-account commands ( #6114 )
...
automerge
2019-09-26 10:26:47 -07:00
Rob Walker
43795193c4
add authorized parameters to vote api ( #6072 )
...
* add authorized parameters to vote api
* code review
2019-09-25 13:53:49 -07:00
dependabot-preview[bot]
62429585ba
Bump bincode from 1.1.4 to 1.2.0 ( #6065 )
...
Bumps [bincode](https://github.com/servo/bincode ) from 1.1.4 to 1.2.0.
- [Release notes](https://github.com/servo/bincode/releases )
- [Commits](https://github.com/servo/bincode/compare/v1.1.4...v1.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-25 14:44:29 -06:00
Tyera Eulberg
7babfd00c1
Revert back to reqwest, using rustls feature ( #6041 )
...
* Revert back to reqwest, using rustls feature
* Cargo.lock and crate-features
* Ignore test
2019-09-24 14:10:59 -06:00
Dan Albert
9c9991db1d
Update cargo toml and lock files to v0.20.0 ( #6016 )
2019-09-22 21:45:56 -04:00
Michael Vines
a60a3efc1a
Revert "require stake, vote and executable accounts to be rent exempt ( #5928 )" ( #6005 )
...
This reverts commit 11e6197a83
.
2019-09-20 14:10:39 -07:00
Michael Vines
debee350f8
Remove whitespace
2019-09-20 08:20:19 -07:00
dependabot-preview[bot]
8eab673b1c
Bump serde from 1.0.100 to 1.0.101 ( #5994 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.100 to 1.0.101.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.100...v1.0.101 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-20 07:05:16 -06:00
Parth
11e6197a83
require stake, vote and executable accounts to be rent exempt ( #5928 )
...
* require vote account to be exempt
* make stake account rent exempt
* add rent exempted system instruction
* use rent exemption instruction in vote and stake api
* use rent exempted account while creating executable account
* updating chacha golden hash as instruction data has changed
* rent will be initialized for genesis bank too
2019-09-20 16:52:17 +05:30
Michael Vines
1d0be265d9
Add explicit validator-cuda crate ( #5985 )
2019-09-19 20:50:34 -07:00
dependabot-preview[bot]
1a71804ef2
Bump bs58 from 0.2.5 to 0.3.0 ( #5974 )
...
Bumps [bs58](https://github.com/mycorrhiza/bs58-rs ) from 0.2.5 to 0.3.0.
- [Release notes](https://github.com/mycorrhiza/bs58-rs/releases )
- [Commits](https://github.com/mycorrhiza/bs58-rs/compare/0.2.5...0.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-19 10:39:37 -06:00
dependabot-preview[bot]
e83f6332bf
Bump serde_derive from 1.0.100 to 1.0.101 ( #5945 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.100 to 1.0.101.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.100...v1.0.101 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-18 21:29:40 -07:00
Tyera Eulberg
c48c9be913
Add solana-cli uptime subcommand ( #5944 )
...
automerge
2019-09-18 09:29:57 -07:00
Tyera Eulberg
76223f5ae7
Print airdrop request in proper units ( #5941 )
...
* Make airdrop msg units consistent
* Make sol prints prettier
2019-09-17 23:59:35 -06:00
dependabot-preview[bot]
084706c5ea
Bump pretty-hex from 0.1.0 to 0.1.1 ( #5926 )
...
Bumps [pretty-hex](https://github.com/wolandr/pretty-hex ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/wolandr/pretty-hex/releases )
- [Commits](https://github.com/wolandr/pretty-hex/compare/v0.1.0...v0.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-17 07:20:39 -07:00
dependabot-preview[bot]
bc2141fbe0
Bump ureq from 0.11.0 to 0.11.1 ( #5905 )
...
Bumps [ureq](https://github.com/algesten/ureq ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/algesten/ureq/releases )
- [Commits](https://github.com/algesten/ureq/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-16 16:51:45 -06:00
Justin Starry
8f5a1535af
Add mnenomic keypair generation and recovery to cli ( #5889 )
...
* Add mnenomic keypair generation and recovery to cli
* Use password input to retrieve mnemonic phrase
* Direct users without keypair file to use solana-keygen
2019-09-12 18:37:29 -07:00
Tyera Eulberg
c62a4a1c13
Interpret Solana-CLI amount requests in SOL by default ( #5866 )
...
automerge
2019-09-10 16:16:40 -07:00
dependabot-preview[bot]
294d531e0b
Bump serde_derive from 1.0.99 to 1.0.100 ( #5864 )
...
automerge
2019-09-10 13:31:11 -07:00
Tyera Eulberg
e05f8faa74
Print account balances in SOL by default ( #5857 )
...
* Print account balances in SOL by default
* Review comments
* Fix wallet-sanity
2019-09-10 13:36:59 -06:00
dependabot-preview[bot]
0d7efe5176
Bump serde from 1.0.99 to 1.0.100 ( #5862 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.99...v1.0.100 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-10 12:27:41 -07:00
Rob Walker
b881029de3
make voter_pubkey a function of epoch ( #5830 )
...
* make voter_pubkey a function of epoch
* fixups
2019-09-09 18:17:32 -07:00
dependabot-preview[bot]
a7fd726872
Bump console from 0.8.0 to 0.9.0 ( #5843 )
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/compare/0.8.0...0.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-09 11:15:24 -07:00
Jack May
e8d88f3237
Split SDK's timing.rs ( #5823 )
2019-09-06 14:30:56 -07:00
dependabot-preview[bot]
f28782cb84
Bump chrono from 0.4.8 to 0.4.9 ( #5775 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.8 to 0.4.9.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/commits/v0.4.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-06 13:55:36 -06:00
Rob Walker
4a20c2aa1b
add stake and vote errors ( #5814 )
...
* add stake errors
* remove self from type_of
* sheesh
* better
* add stake errors
* update wallet error handling
* fixup
2019-09-06 10:55:03 -07:00
Michael Vines
5ffb6b874b
cli: get command now shows default values instead of 'not set' ( #5796 )
...
* get command now shows default values instead of 'not set'
* Add default indicator
2019-09-05 10:14:23 -07:00
Rob Walker
933e835838
add stake lockup ( #5782 )
...
* add stake lockup
* fixup
2019-09-04 13:34:09 -07:00
Tyera Eulberg
b19d9a50d3
Transition to ureq http client ( #5777 )
...
* Transition to ureq http client
* Remove unwrap
2019-09-04 12:11:44 -07:00
dependabot-preview[bot]
f7e039e7ac
Bump chrono from 0.4.7 to 0.4.8 ( #5761 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-03 14:49:48 -07:00
Tyera Eulberg
0d20bc5e14
Move solana-validator-info into cli ( #5768 )
...
* Move solana-validator-info into cli
* Remove solana-validator-info and update docs
* Update test to use app()
2019-09-03 10:38:12 -07:00
Tyera Eulberg
e8ab599bae
Add keypair print ( #5766 )
...
automerge
2019-09-02 12:53:13 -07:00
Michael Vines
643d0b0868
Make the world flat again; remove utils/ subdirectory ( #5752 )
...
automerge
2019-08-30 11:57:39 -07:00
Michael Vines
3cc5d8df7f
Mark global arguments as such ( #5751 )
...
automerge
2019-08-30 11:13:23 -07:00
dependabot-preview[bot]
f840eefcbf
Bump bs58 from 0.2.4 to 0.2.5 ( #5747 )
...
Bumps [bs58](https://github.com/mycorrhiza/bs58-rs ) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/mycorrhiza/bs58-rs/releases )
- [Commits](https://github.com/mycorrhiza/bs58-rs/compare/0.2.4...0.2.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-30 11:41:41 -06:00
Michael Vines
22667d64d1
Add various missing cli validators ( #5745 )
...
automerge
2019-08-30 09:27:35 -07:00
Michael Vines
f78baf80e4
Move drone arguments under the airdrop command ( #5741 )
2019-08-29 20:45:53 -07:00
dependabot-preview[bot]
eda46d30bb
Bump console from 0.7.7 to 0.8.0 ( #5631 )
...
automerge
2019-08-26 22:44:09 -07:00
dependabot-preview[bot]
9744eb0ccd
Bump lazy_static from 1.3.0 to 1.4.0 ( #5640 )
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.3.0...1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 21:32:31 -07:00
Michael Vines
ba59741b60
Bump to 0.19.0-pre0
2019-08-25 21:47:29 -07:00
Michael Vines
1207664bbb
Rename solana-wallet program to just solana ( #5604 )
...
* Rename wallet/ to cli/
* Rename the solana-wallet crate to solana-cli
* Rename solana-wallet program to solana
* cargo fmt
2019-08-22 13:51:16 -07:00