solana/clap-utils/src
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
..
commitment.rs Fix up a couple cli commands that fail when a node is in the `--wait-for-supermajority` state (#9985) 2020-05-11 16:07:40 -07:00
input_parsers.rs Add commitment Root variant, and add fleshed out --commitment arg to Cli (#9806) 2020-04-29 21:55:33 -07:00
input_validators.rs Cli: transfer ALL; check spend+fee in client (#10012) 2020-05-14 12:24:14 -06:00
keypair.rs Tame wallet manager better (#9567) 2020-04-18 11:54:21 -07:00
lib.rs Advertise node software version in gossip (#9981) 2020-05-11 15:02:01 -07:00
offline.rs CLI: dynamic signing reboot (#8384) 2020-02-21 14:55:53 -07:00