Tyera Eulberg
f6f0f94e17
Add flag to confirm key on device ( #8478 )
2020-02-26 15:24:44 -07:00
Justin Starry
8839dbfe5b
Use runtime executor to send pubsub notifications ( #8353 )
...
automerge
2020-02-25 20:23:54 -08:00
Michael Vines
407d058611
live-slots now displays the rate the root slot is advancing
2020-02-25 20:59:05 -07:00
carllin
39282be486
Determine vote_state ahead of time ( #8303 )
...
automerge
2020-02-24 19:27:04 -08:00
Tyera Eulberg
12a9b5f35e
CLI: collect and deduplicate signers ( #8398 )
...
* Rename (keypair util is not a thing)
* Add method to generate_unique_signers
* Cli: refactor signer handling and remote-wallet init
* Fixup unit tests
* Fixup intergation tests
* Update keypair path print statement
* Remove &None
* Use deterministic key in test
* Retain storage-account as index
* Make signer index-handling less brittle
* Cache pubkey on RemoteKeypair::new
* Make signer_of consistent + return pubkey
* Remove &matches double references
* Nonce authorities need special handling
2020-02-24 17:03:30 -07:00
Trent Nelson
9dcb965959
Reinstate `create-stale-account` w/ seed test ( #8401 )
...
automerge
2020-02-22 08:54:29 -08:00
Dan Albert
2d9d2f1e99
Update cargo versions from 1.0 to 1.1 ( #8397 )
2020-02-21 23:09:45 -08:00
Tyera Eulberg
4ddbf8d509
CLI: dynamic signing reboot ( #8384 )
...
* Add keypair_util_from_path helper
* Cli: impl config.keypair as a trait object
* SDK: Add Debug and PartialEq for dyn Signer
* ClapUtils: Arg parsing from pubkey+signers to Presigner
* Impl Signers for &dyn Signer collections
* CLI: Add helper for getting signers from args
* CLI: Replace SigningAuthority with Signer trait-objs
* CLI: Drop disused signers command field
* CLI: Drop redundant tests
* Add clap validator that handles all current signer types
* clap_utils: Factor Presigner resolution to helper
* SDK: `From` for boxing Signer implementors to trait objects
* SDK: Derive `Clone` for `Presigner`
* Remove panic
* Cli: dedup signers in transfer for remote-wallet ergonomics
* Update docs vis-a-vis ASK changes
* Cli: update transaction types to use new dynamic-signer methods
* CLI: Fix tests No. 1
what to do about write_keypair outstanding
* Work around `CliConfig`'s signer not necessarily being a `Keypair`
* CLI: Fix tests No. 2
* Remove unused arg
* Remove unused methods
* Move offline arg constants upstream
* Make cli signing fallible
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2020-02-21 14:55:53 -07:00
dependabot-preview[bot]
d308eed136
Bump ctrlc from 3.1.3 to 3.1.4
...
Bumps [ctrlc](https://github.com/Detegr/rust-ctrlc ) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/Detegr/rust-ctrlc/releases )
- [Commits](https://github.com/Detegr/rust-ctrlc/commits/3.1.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-21 09:00:14 -07:00
Michael Vines
48f58a88bc
Bump version to 1.0.0
2020-02-20 23:52:19 -07:00
Tyera Eulberg
0b7e8d0162
Add handling for fallible signers ( #8367 )
...
automerge
2020-02-20 19:04:53 -08:00
Tyera Eulberg
ab361a8073
Rename KeypairUtil to Signer ( #8360 )
...
automerge
2020-02-20 13:28:55 -08:00
Tyera Eulberg
fc2a0d53d9
CLI: Add optional airdrop recipient ( #8291 )
...
* CLI: Add optional airdrop recipient
* Update book usage page
2020-02-16 11:41:00 -07:00
Tyera Eulberg
b997d3eb4e
Cli: Remove units from various subcommands ( #8301 )
...
* Cli: Remove unit arg from various subcommands
* Update book usage page
* Update scripts and docs
2020-02-15 12:53:52 -07:00
Tyera Eulberg
2374cf09e2
Enable remote-wallet signing in solana-keygen ( #8267 )
...
* Add fallible methods to KeypairUtil
* Add RemoteKeypair struct and impl KeypairUtil
* Implement RemoteKeypair in keygen; also add parse_keypair_path for cleanup
2020-02-13 14:08:34 -07:00
Trent Nelson
cb7117beac
CLI: Offline-ify remaining stake ops ( #8257 )
...
automerge
2020-02-12 22:00:28 -08:00
Tyera Eulberg
6309c97697
Add CliCommand::StakeSetLockup ( #8248 )
...
automerge
2020-02-12 15:36:29 -08:00
Greg Fitzgerald
127553ce4b
Wrap ed25519_dalek::Keypair ( #8247 )
2020-02-12 14:15:12 -07:00
Trent Nelson
ed87229cec
CLI: Don't hide errors when fees are disabled ( #8204 )
...
automerge
2020-02-11 21:48:04 -08:00
Jack May
059764586a
Rename from account userdata to data ( #8224 )
2020-02-11 16:30:22 -08:00
Tyera Eulberg
25d1f841ee
Fixup sign_transaction; pass derivation_path by reference ( #8194 )
...
* Fixup sign_transaction; pass derivation_path by reference
* Pass total message length as BE u16
* Remove live integration tests (to ledger-app-solana)
2020-02-11 11:45:00 -07:00
Trent Nelson
1528959327
CLI: Add fee-payer parame to stake-split subcommand ( #8201 )
...
automerge
2020-02-10 23:23:54 -08:00
Trent Nelson
8d8f28c1d0
CLI: `transfer` fix checks pubkeys ( #8198 )
...
automerge
2020-02-10 22:34:14 -08:00
Trent Nelson
fc15f74c3c
CLI: Harden offline signing and tests ( #8052 )
...
* CLI: Don't sanity-check stake account when offline
* Add test helper returning vote pubkey with validator
* Delegate to the BSL. No need to force
* Be sure our offline ops are truly offline
* Specify our authorities correctly
* checks
2020-02-10 18:59:05 -07:00
Trent Nelson
87c6508305
CLI: Implement transfer command ( #8108 )
...
* CLI: Add transfer subcommand
* Add tests
* checks
2020-02-07 12:16:35 -07:00
Tyera Eulberg
ed0c1d3b52
Ledger hardware wallet integration ( #8068 )
...
* Initial remote wallet module
* Add clap derivation tooling
* Add remote-wallet path apis
* Implement remote-wallet in solana-keygen
* Implement remote-wallet in cli for read-only pubkey usage
* Linux: Use udev backend; add udev rules tool
* Ignore Ledger live test
* Cli api adjustments
2020-02-07 11:26:56 -07:00
Trent Nelson
5b070ad014
CLI: Support offline fee payers ( #8009 )
...
* CLI: Support offline fee-payer
* Add some knobs to test genesis/validator helpers
* Add tests
2020-02-07 09:14:26 -07:00
Sunny Gleason
a7fa92b372
feat: implementation of live-slots command ( #8129 )
2020-02-06 14:16:30 -05:00
Jack May
8436457e75
Rename program_utils.rs ( #8127 )
2020-02-05 12:48:30 -08:00
Tyera Eulberg
3db159f616
CLI cosmetic: make config get and verbose prints consistent ( #8119 )
...
* CLI cosmetic: make config get and verbose prints consistent
* Make print format consistent across cli
2020-02-05 11:14:44 -07:00
dependabot-preview[bot]
65c24db83c
Bump serde_json from 1.0.44 to 1.0.46 ( #8087 )
...
* Bump serde_json from 1.0.44 to 1.0.46
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.44 to 1.0.46.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.44...v1.0.46 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Update Move's serde_json to v1.0.46
Co-authored-by: Jack May <jack@solana.com>
2020-02-04 16:59:23 -08:00
Trent Nelson
79249360f7
CLI: Expose sign-only reply parsing helper ( #8107 )
...
automerge
2020-02-03 18:22:36 -08:00
Jack May
336d5136bf
Print more program error info to user when using CLI ( #8098 )
2020-02-03 17:14:53 -08:00
Michael Vines
4c0420b884
Delete uptime command, report total credits in `solana validators` instead
2020-02-03 16:55:33 -07:00
Michael Vines
5e2891ae5d
e
2020-02-03 11:34:00 -07:00
Michael Vines
4f85481a2b
Add split-stake command
2020-02-03 11:14:08 -07:00
Tyera Eulberg
fab8ef379f
Use solana-cli config keypair in solana-keygen ( #8074 )
...
* Use solana-cli config keypair in solana-keygen
* s/infile/keypair for consistency across modules and more generality across access methods
* Move config into separate crate
2020-01-31 19:27:37 -07:00
Trent Nelson
dc2888c9a3
CLI: De-replicode SigningAuthority instatiation ( #8076 )
...
automerge
2020-01-31 16:30:37 -08:00
Trent Nelson
9739be9ecf
CLI: Fix stake-account auth withdrawer output ( #8071 )
...
automerge
2020-01-31 14:25:05 -08:00
Michael Vines
7d96510d17
Fix stake-account subcommand name
2020-01-31 12:09:41 -07:00
Trent Nelson
966d077431
CLI: Disallow blockhash/fee-calc lookups when offline ( #7981 )
...
* CLI: Add BlockhashSpec to tighten control over --blockhash
* Use BlockhashSpec
* Add a matches-free constructor
* More descriptive naming
2020-01-30 09:21:32 -07:00
dependabot-preview[bot]
c7e77a2238
Bump indicatif from 0.13.0 to 0.14.0
...
Bumps [indicatif](https://github.com/mitsuhiko/indicatif ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/mitsuhiko/indicatif/releases )
- [Commits](https://github.com/mitsuhiko/indicatif/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-30 08:58:00 -07:00
dependabot-preview[bot]
a52a9afa3c
Bump console from 0.9.1 to 0.9.2
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/compare/0.9.1...0.9.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-29 23:22:44 -07:00
Michael Vines
1c82f84595
Add leader-schedule subcommand
2020-01-29 20:08:42 -07:00
Trent Nelson
4a074133f7
CLI: Fix tests. sign_only requires a blockhash ( #8005 )
...
This is enforced by argument parsing and will be better enforced wholly
with #7981
2020-01-28 18:02:20 -07:00
Michael Vines
1ff4dd9a9a
Remove show- prefix
2020-01-26 21:00:57 -07:00
Trent Nelson
14a72b0fc0
CLI: --sign-only and --signer require --blockhash ( #7982 )
2020-01-26 10:06:21 -07:00
Trent Nelson
c13ab9f14e
CLI: Consolidate offline arg declarations ( #7979 )
...
automerge
2020-01-26 00:27:24 -08:00
Michael Vines
cff1bc6e71
s/dervied/derived/
2020-01-25 23:22:28 -07:00
Trent Nelson
bb6c4efe9b
CLI: Deterministic dummy keypair generation for SigningAuthority::Offline ( #7971 )
...
* CLI: Deterministic dummy keypair generation for SigningAuthority::Offline
* Add test
2020-01-25 22:14:07 -07:00