Сryptocurrency development analysis

Description

This is second PR for CHW (Cardano Hardware Wallets).

It allows to operate with root public keys (using to identify external wallets) and specifies errors we’ll use during work with external wallets (please see next PRs with `[CHW]`).

## Linked issue

## Type of change

— [ ] 🐞 Bug fix (non-breaking change which fixes an issue)
— [ ] 🛠 New feature (non-breaking change which adds functionality)
— [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)
— [ ] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
— [ ] 🔨 New or improved tests for existing code
— [ ] ⛑ git-flow chore (backport, hotfix, etc)

## Developer checklist

— [ ] I have read the [style guide](https://github.com/input-output-hk/cardano-sl/blob/develop/docs/style-guide.md) document, and my code follows the code style of this project.
— [ ] If my code deals with exceptions, it follows the [guidelines](https://github.com/input-output-hk/cardano-sl/blob/develop/docs/exceptions.md).
— [ ] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on [cardanodocs.com](https://github.com/input-output-hk/cardanodocs.com), amending the inline [Haddock](https://www.haskell.org/haddock/) comments, any relevant README file or one of the document listed in the [docs](https://github.com/input-output-hk/cardano-sl/tree/develop/docs) directory.
— [ ] CHANGELOG entry has been added and is linked to the correct PR on GitHub.

## Testing checklist

— [ ] I have added tests to cover my changes.
— [ ] All new and existing tests passed.

## QA Steps

## Screenshots (if available)

You can view, comment on, or merge this pull request online at:

https://github.com/input-output-hk/cardano-sl/pull/3404

— Commit Summary —

* [CHW] Work with root public key for external wallets. Errors for external wallets.

— File Changes —

M auxx/src/Mode.hs (9)
M client/src/Pos/Client/KeyStorage.hs (92)
M client/src/Pos/Client/Txp/Network.hs (21)
M client/src/Pos/Client/Txp/Util.hs (95)
M wallet-new/src/Cardano/Wallet/API/V1/Errors.hs (68)
M wallet/src/Pos/Wallet/Web/Mode.hs (9)
M wallet/test/Test/Pos/Wallet/Web/Mode.hs (12)

— Patch Links —

https://github.com/input-output-hk/cardano-sl/pull/3404.patch
https://github.com/input-output-hk/cardano-sl/pull/3404.diff

Добавить комментарий