Сryptocurrency development analysis


This also does some minor refactoring: most kernel functionality was defined in
submodules, but `applyBlock`, `rollback`, and `newPending` and co where not.
I’ve moved them to their own submodule now, along with a new .Read module for
read-only access.

This also cleans up some import lists.

## Linked issue


## Type of change

— [x] 🐞 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)
— [x] 🏭 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:


— Commit Summary —

* [CBR-341] Don’t iterate over the keystore

— File Changes —

M wallet-new/cardano-sl-wallet-new.cabal (5)
M wallet-new/src/Cardano/Wallet/Kernel.hs (148)
A wallet-new/src/Cardano/Wallet/Kernel/BListener.hs (121)
M wallet-new/src/Cardano/Wallet/Kernel/DB/Read.hs (28)
M wallet-new/src/Cardano/Wallet/Kernel/Keystore.hs (15)
A wallet-new/src/Cardano/Wallet/Kernel/Pending.hs (66)
A wallet-new/src/Cardano/Wallet/Kernel/Read.hs (21)
M wallet-new/src/Cardano/Wallet/Kernel/Transactions.hs (3)
M wallet-new/src/Cardano/Wallet/Kernel/Wallets.hs (2)
M wallet-new/src/Cardano/Wallet/WalletLayer/Kernel.hs (2)
M wallet-new/src/Cardano/Wallet/WalletLayer/Kernel/Accounts.hs (3)
M wallet-new/src/Cardano/Wallet/WalletLayer/Kernel/Addresses.hs (3)
M wallet-new/src/Cardano/Wallet/WalletLayer/Kernel/Conv.hs (2)
M wallet-new/src/Cardano/Wallet/WalletLayer/Kernel/Transactions.hs (17)
M wallet-new/src/Cardano/Wallet/WalletLayer/Kernel/Wallets.hs (3)
M wallet-new/test/unit/Test/Spec/Addresses.hs (28)
M wallet-new/test/unit/Test/Spec/GetTransactions.hs (24)
M wallet-new/test/unit/Wallet/Inductive/Cardano.hs (9)

— Patch Links —


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