cosmos-sdk/server
Alessio Treglia a1feca39c2
Enter the new keyring interface (#5904)
crypto/keyring:

`Keybase` interface gives way to its successor: `Keyring`. `LegacyKeybase`
interface is added in order to guarantee limited backward compatibility with
the old `Keybase` interface for the sole purpose of migrating keys across
the new keyring backends.

The package no longer depends on the `github.com/types.Config`
singleton.

`SupportedAlgos` and `SupportedLedgerAlgos` methods have been removed.
The keyring just fails when trying to perform an action with an unsupported
algorithm.

crypto/ subdirs reorganization:

`crypto/keys/hd` was moved to `crypto/hd`, which now groups together
all HD wallets related types and utilities.

client/input:

* Removal of unnecessary `GetCheckPassword`, `PrintPrefixed` functions.
* `GetConfirmation`'s signature changed to take in a io.Writer for better integration
  with `cobra.Command` types.

client/context:

* In-memory keyring is allocated in the context when `--gen-only` flag is passed
  in. `GetFromFields` does no longer silently allocate a keyring, it takes one as
  argument.

Co-authored with @jgimeno

Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
2020-04-08 11:38:28 +02:00
..
config Merge PR #5527: Bump Tendermint Version to v0.33.0 2020-01-16 13:46:51 -08:00
mock Merge PR #5421: Refactor Error Handling 2019-12-27 12:57:54 -05:00
constructors.go Merge PR #4836: Upgrade Tendermint and IAVL 2019-08-02 09:20:39 -04:00
constructors_test.go Replace defer with testing.T.Cleanup() (#5732) 2020-03-02 00:16:23 +00:00
export.go Merge PR #5696: Fix x/auth proto json tags 2020-02-25 15:22:28 -05:00
init.go Enter the new keyring interface (#5904) 2020-04-08 11:38:28 +02:00
init_test.go Enter the new keyring interface (#5904) 2020-04-08 11:38:28 +02:00
pruning.go run go mod tidy && make format (#5847) 2020-03-20 17:14:14 +00:00
pruning_test.go fix linter test 2020-02-27 17:29:13 +01:00
start.go update from PR comments 2020-02-28 10:53:56 +01:00
start_test.go fix linter test 2020-02-27 17:29:13 +01:00
test_helpers.go Merge PR #4608: More linters - Gosec, staticcheck 2019-06-26 13:30:36 -07:00
tm_cmds.go Merge PR #5495: Replace Redundant Bech32 PubKey Functions 2020-01-09 09:04:28 -05:00
util.go Squash various linter warnings (#5652) 2020-02-16 20:06:45 +01:00
util_test.go Run make format 2018-12-10 14:27:25 +00:00