Сryptocurrency development analysis

Description

Remove `HasTxpConfiguration` and pass `TxpConfiguration` simply as an argument.

## 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.

## 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/3320

— Commit Summary —

* Removed HasTxpConfiguration

— File Changes —

M auxx/Main.hs (22)
M auxx/src/Command/BlockGen.hs (12)
M auxx/src/Command/Proc.hs (10)
M auxx/src/Mode.hs (15)
M auxx/src/Plugin.hs (24)
M client/src/Pos/Client/Txp/History.hs (15)
M client/test/Test/Pos/Client/Txp/UtilSpec.hs (2)
M db/src/Pos/DB/Block/Logic/Creation.hs (23)
M db/src/Pos/DB/Block/Logic/Internal.hs (14)
M db/src/Pos/DB/Block/Logic/VAR.hs (15)
M db/src/Pos/DB/Block/Lrc.hs (4)
M db/src/Pos/DB/Txp/Logic/Global.hs (20)
M db/src/Pos/DB/Txp/Logic/Local.hs (29)
M db/src/Pos/DB/Txp/MemState/Class.hs (7)
M db/src/Pos/DB/Txp/Settings.hs (7)
M explorer/bench/Bench/Pos/Explorer/ServerBench.hs (10)
M explorer/cardano-sl-explorer.cabal (2)
M explorer/src/Pos/Explorer/TestUtil.hs (10)
M explorer/src/Pos/Explorer/Txp/Global.hs (12)
M explorer/src/Pos/Explorer/Txp/Local.hs (20)
M explorer/src/Pos/Explorer/Txp/Toil/Logic.hs (18)
M explorer/src/Pos/Explorer/Web/Transform.hs (9)
M explorer/src/explorer/Main.hs (14)
M explorer/test/Test/Pos/Explorer/Web/ServerSpec.hs (2)
M generator/app/VerificationBench.hs (28)
M generator/bench/Bench/Pos/Criterion/Block/Logic.hs (13)
M generator/cardano-sl-generator.cabal (1)
M generator/src/Pos/Generator/Block/Logic.hs (23)
M generator/src/Pos/Generator/Block/Payload.hs (9)
M generator/src/Pos/Generator/BlockEvent.hs (26)
M generator/src/Pos/Generator/BlockEvent/DSL.hs (9)
M generator/src/Test/Pos/Block/Logic/Event.hs (30)
M generator/src/Test/Pos/Block/Logic/Mode.hs (6)
M generator/src/Test/Pos/Block/Logic/Util.hs (15)
M generator/test/Test/Pos/Binary/CommunicationSpec.hs (8)
M generator/test/Test/Pos/Block/Logic/VarSpec.hs (130)
M generator/test/Test/Pos/Generator/Block/LrcSpec.hs (36)
M lib/src/Pos/Client/CLI/Util.hs (12)
M lib/src/Pos/Launcher/Configuration.hs (8)
M lib/src/Pos/Launcher/Launcher.hs (8)
M lib/src/Pos/Launcher/Runner.hs (6)
M lib/src/Pos/Launcher/Scenario.hs (9)
M lib/src/Pos/Listener/Txp.hs (6)
M lib/src/Pos/Logic/Full.hs (6)
M lib/src/Pos/Network/Block/Logic.hs (18)
M lib/src/Pos/Network/Block/Retrieval.hs (23)
M lib/src/Pos/WorkMode.hs (3)
M lib/src/Pos/Worker.hs (10)
M lib/src/Pos/Worker/Block.hs (38)
M lib/src/Test/Pos/Configuration.hs (16)
M lib/test/Test/Pos/Launcher/ConfigurationSpec.hs (2)
M tools/src/blockchain-analyser/Main.hs (2)
M tools/src/dbgen/Main.hs (15)
M tools/src/keygen/Main.hs (2)
M tools/src/launcher/Main.hs (2)
M txp/src/Pos/Txp/Configuration.hs (18)
M txp/src/Pos/Txp/Toil/Logic.hs (28)
M wallet-new/server/Main.hs (39)
M wallet-new/src/Cardano/Wallet/API/V0/Handlers.hs (6)
M wallet-new/src/Cardano/Wallet/API/V1/LegacyHandlers.hs (6)
M wallet-new/src/Cardano/Wallet/API/V1/LegacyHandlers/Transactions.hs (11)
M wallet-new/src/Cardano/Wallet/Kernel/Mode.hs (7)
M wallet-new/src/Cardano/Wallet/LegacyServer.hs (13)
M wallet-new/src/Cardano/Wallet/Server/Plugins.hs (15)
M wallet-new/test/DevelopmentSpec.hs (2)
M wallet/src/Pos/Wallet/Redirect.hs (14)
M wallet/src/Pos/Wallet/Web/Methods/Payment.hs (14)
M wallet/src/Pos/Wallet/Web/Methods/Redeem.hs (22)
M wallet/src/Pos/Wallet/Web/Methods/Txp.hs (6)
M wallet/src/Pos/Wallet/Web/Mode.hs (6)
M wallet/src/Pos/Wallet/Web/Pending/Submission.hs (6)
M wallet/src/Pos/Wallet/Web/Pending/Worker.hs (31)
M wallet/src/Pos/Wallet/Web/Server/Handlers.hs (27)
M wallet/src/Pos/Wallet/Web/Server/Launcher.hs (6)
M wallet/src/Pos/Wallet/Web/Server/Runner.hs (11)
M wallet/test/Test/Pos/Wallet/Web/AddressSpec.hs (2)
M wallet/test/Test/Pos/Wallet/Web/Methods/BackupDefaultAddressesSpec.hs (2)
M wallet/test/Test/Pos/Wallet/Web/Methods/LogicSpec.hs (2)
M wallet/test/Test/Pos/Wallet/Web/Methods/PaymentSpec.hs (2)
M wallet/test/Test/Pos/Wallet/Web/Tracking/SyncSpec.hs (2)

— Patch Links —

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

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