solana-with-rpc-optimizations/install/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
..
build_env.rs
command.rs Cli: transfer ALL; check spend+fee in client (#10012) 2020-05-14 12:24:14 -06:00
config.rs install: Drop unneeded sha2 dependency (#7108) 2019-11-22 21:58:26 -07:00
defaults.rs Remove unused default update manifest pubkeys 2020-03-17 21:46:39 -07:00
lib.rs Advertise node software version in gossip (#9981) 2020-05-11 15:02:01 -07:00
main-install-init.rs Clean up `use` to keep rust 1.43.0 from complaining (#9740) 2020-04-27 16:54:11 -07:00
main-install.rs
stop_process.rs
update_manifest.rs Rename from account userdata to data (#8224) 2020-02-11 16:30:22 -08:00