cosmos-sdk/client
Alessio Treglia 9bd603ae88
crypto: cleanup, more testing
crypto.LedgerShowAddress() is a ledger specific function
and should takes acc address prefix instead of depending
on a sdk.Config singleton.

crypto/keys/mintkey:
- decryptPrivKey() return error instead of os.Exit()ing.
- encryptPrivKey() should panic instead of os.Exit() when
  bcrypt.GenerateFromPassword() call fails so that the
  caller is given a chance to recover().

crypto/keys:
- SignWithLedger() does not need to be method of
  baseKeybase. Method receiver is unused.
- ledgerInfo objecta may be pointers, type switch
  should handle both to avoid panics.
- keyringKeybase should not provide Update() at all.

More test cases are added to increase package crypto
and subpackages overall coverage.
2020-03-02 11:09:52 +00:00
..
context Merge PR #5618: Add test of missing verifier in cli context 2020-02-06 10:27:23 -05:00
debug Merge PR #5495: Replace Redundant Bech32 PubKey Functions 2020-01-09 09:04:28 -05:00
flags Merge PR #5671: CORS - Add a Flag for CORS 2020-02-21 12:17:27 +01:00
input Merge PR #4919: Fix GetConfirmation User Input Bug 2019-08-19 09:22:07 -04:00
keys crypto: cleanup, more testing 2020-03-02 11:09:52 +00:00
lcd Merge PR #5671: CORS - Add a Flag for CORS 2020-02-21 12:17:27 +01:00
rpc Merge PR #5537: Fix validatorset REST pagination 2020-01-17 12:33:59 -05:00
cmd.go Merge PR #4555: Move client/{tx,rest,utils} into x/auth/client 2019-06-15 14:34:11 +02:00
cmd_test.go Exclude proto files from format (#5706) 2020-02-27 07:53:22 -03:00
config.go keyring's encrypted file backend integration (#5355) 2019-12-11 09:45:26 +00:00
config_test.go reduce module interdependancy, /client refactor (#4415) 2019-05-28 09:44:04 +01:00
routes.go Merge PR #5442: Remove of the client/alias.go 2019-12-23 11:05:47 -05:00
utils.go Merge PR #4658: Generalize Querier REST Pagination 2019-07-02 09:00:46 -04:00
utils_test.go Merge PR #5203: Add more linters 2019-10-17 09:47:35 -04:00