Federico Kunze
e85a734a57
update x/genaccounts to match module spec ( #4759 )
2019-07-22 16:26:42 +01:00
Alessio Treglia
7b5e6cee07
Remove client/input.{Buffer,Override}Stdin() functions ( #4602 )
...
Cobra's new release made them redundant.
Thanks: Juan Leni <juan.leni@zondax.ch> for the original patch.
2019-06-22 11:24:59 +02:00
Alessio Treglia
1fcac93d57
switch GetConfirmation()'s default to no ( #4575 )
...
client/input.GetConfirmation() returns true if and only if the
user's input is confirmative.
The function is used in places where fat-fingering may cause
financial loss, e.g. gaiacli tx send command. Thus it seems
wiser to provide a conservative default in order to protect
users from accidental mistyping.
Closes : #4564
2019-06-18 11:46:51 +02:00
frog power 4000
73e5ef7c13
reduce module interdependancy, /client refactor ( #4415 )
...
* abstract staking BuildCreateValidatorMsg, genutil defines its own flags
* client/ refactor
* staking move keys from keeper to types
2019-05-28 09:44:04 +01:00
Juan Leni
1306a25e42
Adding support for Ledger Cosmos App v1.5 ( #4227 )
...
This PR adds support for the latest version of the Cosmos App (v.1.5).
The app is not been released yet by Ledger but the PR is backwards compatible.
We can later remove backwards compatibility and enforce v1.5 only.
When creating a new account, `gaiacli` now shows the account/index and address in the device and requires user confirmation.
Related PRs:
https://github.com/cosmos/ledger-cosmos-go/pull/3
https://github.com/cosmos/ledger-cosmos-go/pull/4
https://github.com/cosmos/ledger-cosmos-go/pull/5
https://github.com/cosmos/ledger-cosmos-go/pull/6
Changes in the app can be found here:
https://github.com/LedgerHQ/ledger-app-cosmos/pull/5
2019-04-30 09:58:21 +01:00
Frank Yang
5344e8d768
Merge PR #4220 : Empty mnemonic should return error during key recovery
2019-04-29 12:49:35 -04:00
Alessio Treglia
3c88ddc2f5
Merge PR #4083 : Replace gaiad --assert-invariants-blockly with --inv-check-period
...
* Remove old broken flag
* Support --inv-check-period which asserts invariants every nth period
2019-04-10 19:33:50 -04:00
Alessio Treglia
85021d4ca9
No packages must depend on cmd/gaia/ ( #4048 )
...
Preparation work for moving gaia out of the SDK.
2019-04-04 15:36:39 +01:00
Frank Yang
54ac1d2fe8
Merge PR #3841 : Add indent to JSON of `gaiacli key [add|show|list]`
...
* Add indent to JSON of `gaiacli key list`
* Add `-o json --indent` to `keys [add|show|list]`
* Add change log.
* Move entry from CHANGELOG.md to PENDING.md
* Update PENDING.md
Add indent to JSON of `gaiacli key [add|show|list]`
Co-Authored-By: yangyanqing <yangyanqing.cn@gmail.com>
2019-03-13 10:36:52 -07:00
Frank Yang
38796c1036
Merge PR #3859 : Add newline to echo of `gaiacli keys ...`
...
`gaiacli keys add a123 --multisig a1,a2,a3 --multisig-threshold 2`
`gaiacli keys add temp --recover` with incorrect mnemonic
2019-03-12 16:10:57 +01:00
Alexander Bezobchuk
47a44fb580
Merge PR #3748 : Multisig Display UX Improvements
2019-03-01 13:29:33 -08:00
Jack Zampolin
250dc9807b
Merge PR #3731 : Fix keys add --interactive regression
2019-02-25 11:19:57 -08:00
Alexander Bezobchuk
e39debd359
Merge PR #3674 : Remove password/keybase from REST Client
2019-02-19 10:15:39 -08:00
Alessio Treglia
1aa6c197ff
Merge PR #3580 : Code cleanup of client types
2019-02-14 08:53:36 -08:00
Alessio Treglia
fe548c0829
Merge PR #3593 : hide dbKeybase's constructor
2019-02-11 17:18:58 -08:00
Juan Leni
94dccf3842
Merge PR #3586 : Fix keybase storage of ledger accounts
2019-02-11 09:02:47 -08:00
Juan Leni
b5fdb83830
Merge PR #3517 : Increasing test coverage in keys/client package
2019-02-08 12:45:23 -08:00
Juan Leni
ba63eb1801
Merge PR #3557 : Removing pkg/errors when not necessary
2019-02-08 11:37:46 -08:00
Alexander Bezobchuk
17c84ab34a
Merge PR #3524 : fix keys add flow to show seed by default
2019-02-06 14:20:36 -08:00
Alessio Treglia
9a57ce0214
Merge PR #3514 : don't lock keybase on lcd startup
2019-02-06 11:23:49 -08:00
Juan Leni
f5ada58780
Merge PR #3461 : GaiaCLI - refactor/fix --account and --index
2019-02-05 08:22:56 -08:00
Alessio Treglia
26cb0a125a
Multi-signature workflow support ( #3264 )
...
- New keys add --multisig flag to store multisig keys
locally.
- New multisign command to generate multisig
signatures.
- New sign --multisig flag to enable multisig mode.
- Add multisig transactions support in ante handler.
- gaiad add-genesis-account can now take both account
addresses and key names.
Closes : #3198
2019-01-16 09:30:57 -08:00
Jack Zampolin
0e26a39f6f
Support adding offline pubkeys to gaiacli keys ( #3224 )
2019-01-08 08:49:03 -08:00
Santatic
904778e102
Merge PR #3098 : Fix typo
2018-12-13 12:16:55 +01:00
Alessio Treglia
535822ca68
R4R: add command asks for encryption password once too many ( #2970 )
...
* add command asks for encryption password once too many
* keep additional explanatory text
2018-11-30 15:00:53 -08:00
Alessio Treglia
c3965f5509
Remove inconsistent gaiacli keys new/add dualism ( #2904 )
...
* Remove inconsistent gaiacli keys new/add dualism
2018-11-29 12:59:41 -08:00
Cong Zhao
6c623b203e
#1255 make keybase opened with readonly option to support better parallelization between gaiacli
2018-10-20 20:26:15 +08:00
Federico Kunze
ad355d6c69
Merge PR #2444 : Standardize REST error responses
2018-10-19 18:55:20 +02:00
Christopher Goes
71a80bf176
'make format'
2018-10-09 06:38:58 +02:00
HaoyangLiu
3bcbcd08b9
create adequate error for key managerment
2018-10-06 11:59:12 +08:00
HaoyangLiu
6d645f20fa
Refactor keys handler according to code reviewers
2018-10-05 07:19:52 +08:00
HaoyangLiu
1acab69326
Fix test_lint failure and test_cover failure
2018-10-04 21:15:29 +08:00
HaoyangLiu
8e1bfee6ca
Add swagger-ui for key management
2018-10-04 20:36:24 +08:00
Alexander Bezobchuk
611e287375
Merge PR #2401 : Remove remnants of gocyclo
2018-09-25 13:45:04 -04:00
Alexander Bezobchuk
2d92803b9f
Merge PR #2040 : Refactor Validator Account Types/Bech32 Prefixing
...
* Add new account bech32 prefixes with godocs
* Restructure spacing of existing account code
* Update account godocs
* More account godoc updates + new tm pub/addr helpers
* Update validator type to use new account types/bech32 prefixes
* Fix account documentation errors
* Update Bech32 prefix for consensus nodes
* Update Bech32 spec doc
* Fix account type tests
* Add missing account consensus functions, clear up godocs, and fix tests
* Add to TestRandBech32PubkeyConsistency check
* Update initialization of validator public keys
* Update query signing info command
* Implement new ConsAddress type with associated unit tests
* [WIP] Update stake and slashing parameters
* Update all calls to MustBech32ifyValPub
* [WIP] Validator operator API updates
* [WIP] Fix and update unit tests
* Fix gov logs (helping to debug failing tests)
* Fix gov tally
* Fix all broken x/ unit tests
* Update gaia app genesis address logic
* Fix linting errors
* Fix broken LCD tests
* Fix broken CLI tests
* Implement command to get validator address and pubkey from key name
* Add support for getting validator key information via REST endpoint
* Update PENDING log
* Update docs
* Revert GaiaGenTx.PubKey bech32 prefix
* Fix broken docs and cli tests
* Update genesis to use correct Bech32 (cons) prefix for pubkeys
* Update docs and unit tests to reflect new cosmos account bech32 prefix
* minor formatting
2018-08-31 00:06:44 -04:00
Fabian Weber
e400e83c43
fix key import creating random account
2018-07-12 19:44:31 +02:00
Christopher Goes
5a56c3f03d
Merge PR #1575 : ready-for-review: sdk.AccAddress natively bech32
2018-07-10 04:18:23 +02:00
ValarDragon
99e91dd276
Add nolints on remaining functions
2018-07-09 16:16:43 -07:00
Sunny Aggarwal
25d976feb4
works?
2018-07-09 01:47:38 -07:00
sunnya97
7ac220beb6
asdf
2018-07-09 00:59:51 -07:00
Sunny Aggarwal
50ed0fa1ae
asdf
2018-07-09 00:35:28 -07:00
Fabian Weber
5998378773
added error check
2018-07-04 16:39:16 +02:00
Fabian Weber
2c697c982b
added sunnys changes
2018-07-04 10:48:47 +02:00
Fabian
a118229fcb
Fabo/Switch key creation REST output to bech32 address ( #1522 )
...
* switch new key output to bech32
* changelog
* fixed tests
* Update LCD TestKeys failure message
2018-07-03 21:31:15 +02:00
Ethan Buchman
f78f30c67a
update for tm v0.22.0. tmlibs->tendermint/libs
2018-07-02 16:34:06 -04:00
Dev Ojha
fc3dd56281
Merge PR #1477 : gaiacli: Make recovery allow new keys
...
* gaiacli: Make recovery allow new keys
* Move create key to a temporary method, restore create fundraiser key
2018-06-30 00:47:09 +02:00
Christopher Goes
59aadf42aa
Ledger integration ( #931 )
...
Merges the keybase and Ledger code from go-crypto (which is no more) into the SDK
Adds support for Ledger into gaiacli
Cherry-picks updated error handling from #1158
2018-06-29 02:54:47 +02:00
David Kajpust
ec2fedd36c
Merge PR #1227 : Set all Error strings 1st letters to lowercase. Fixes issue #1154
2018-06-13 21:13:22 +02:00
Fabian
5f409ce832
Merge PR #1086 : Bech32Cosmos output/input for the LCD
...
* refactored bech32ization
* updated keys endpoints for bech32
* bech32 for sending and querying
* trying to change output of validator addresses
* fixed validator output
* linted
* fixed merge conflict
* added bech32 to staking endpoints
* removed some logging statements
* added GetAccPubKeyBech32Cosmos
* fixed cli tests
* updated swagger
* merged standard bech32 change
* renamed bech32cosmos to bech32
* bech32ify json output for key add
* readded changelog
* fixed changelog merge issue
* Update CHANGELOG.md
2018-06-06 06:53:04 +02:00
rigelrozanski
d28efaac27
many renames / golint compliance
2018-04-19 00:49:24 -04:00