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
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
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
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
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
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
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
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
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
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
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
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
Jack May
e8d88f3237
Split SDK's timing.rs ( #5823 )
2019-09-06 14:30:56 -07: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
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
3cc5d8df7f
Mark global arguments as such ( #5751 )
...
automerge
2019-08-30 11:13:23 -07: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
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