solana/cli/tests
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
..
fixtures Rename solana-wallet program to just solana (#5604) 2019-08-22 13:51:16 -07:00
deploy.rs Use runtime executor to send pubsub notifications (#8353) 2020-02-25 20:23:54 -08:00
nonce.rs Cli: transfer ALL; check spend+fee in client (#10012) 2020-05-14 12:24:14 -06:00
pay.rs Cli: transfer ALL; check spend+fee in client (#10012) 2020-05-14 12:24:14 -06:00
request_airdrop.rs Cli: transfer ALL; check spend+fee in client (#10012) 2020-05-14 12:24:14 -06:00
stake.rs Cli: transfer ALL; check spend+fee in client (#10012) 2020-05-14 12:24:14 -06:00
transfer.rs Cli: transfer ALL; check spend+fee in client (#10012) 2020-05-14 12:24:14 -06:00
vote.rs Add using OutputFormat enum to --sign-only transactions (#9650) 2020-05-06 22:21:48 -06:00