solana/sdk
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
..
benches Add slot_history for slashing (#7589) 2019-12-23 12:23:45 -08:00
bpf Remove inline from all BPF C functions (#10038) 2020-05-13 17:23:39 -07:00
docker-solana Don't --use-move 2020-04-28 12:47:31 -07:00
macro Rpc: Add getCirculatingSupply endpoint, redux (#9953) 2020-05-09 12:05:29 -06:00
src Cli: transfer ALL; check spend+fee in client (#10012) 2020-05-14 12:24:14 -06:00
.gitignore
Cargo.toml Bump serde from 1.0.106 to 1.0.110 (#9964) 2020-05-10 16:24:25 -07:00