Сryptocurrency development analysis

Description

Part 2 of CDEC-472

## Linked issue

https://iohk.myjetbrains.com/youtrack/issue/CDEC-472

## 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)
— [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.

## Testing checklist

— [ ] I have added tests to cover my changes.
— [x] 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/3307

— Commit Summary —

* CDEC-472: Clean up block related exports from core

— File Changes —

M auxx/src/Command/BlockGen.hs (3)
M block/bench/Block.hs (15)
M block/src/Pos/Block/Error.hs (2)
M block/src/Pos/Block/Logic/Integrity.hs (14)
M block/src/Pos/Block/Types.hs (5)
M block/test/Test/Pos/Block/Arbitrary.hs (133)
M block/test/Test/Pos/Block/Arbitrary/Generate.hs (3)
M block/test/Test/Pos/Block/BlockSpec.hs (18)
M client/src/Pos/Client/Txp/History.hs (4)
M core/src/Pos/Core.hs (4)
M core/src/Pos/Core/JsonLog/LogEvents.hs (8)
M core/src/Pos/Core/StateLock.hs (2)
M db/src/Pos/DB/Block.hs (3)
M db/src/Pos/DB/Block/GState/BlockExtra.hs (9)
M db/src/Pos/DB/Block/Load.hs (5)
M db/src/Pos/DB/Block/Logic/Creation.hs (12)
M db/src/Pos/DB/Block/Logic/Header.hs (8)
M db/src/Pos/DB/Block/Logic/Internal.hs (10)
M db/src/Pos/DB/Block/Logic/Util.hs (6)
M db/src/Pos/DB/Block/Logic/VAR.hs (4)
M db/src/Pos/DB/Block/Slog/Logic.hs (6)
M db/src/Pos/DB/BlockIndex.hs (3)
M db/src/Pos/DB/Class.hs (4)
M db/src/Pos/DB/Delegation/Cede/Logic.hs (4)
M db/src/Pos/DB/Delegation/Logic/Mempool.hs (3)
M db/src/Pos/DB/Delegation/Logic/VAR.hs (9)
M db/src/Pos/DB/Delegation/Var.hs (2)
M db/src/Pos/DB/GState/Common.hs (3)
M db/src/Pos/DB/Lrc/Richmen.hs (5)
M db/src/Pos/DB/Lrc/Seed.hs (3)
M db/src/Pos/DB/Pure.hs (3)
M db/src/Pos/DB/Ssc/Logic/VAR.hs (6)
M db/src/Pos/DB/Txp/Logic/Local.hs (3)
M db/src/Pos/DB/Txp/MemState/Class.hs (2)
M db/src/Pos/DB/Txp/MemState/Types.hs (2)
M db/src/Pos/DB/Txp/Settings.hs (2)
M db/src/Pos/DB/Txp/Utxo.hs (7)
M db/src/Pos/DB/Update/Logic/Global.hs (8)
M db/src/Pos/DB/Update/Logic/Local.hs (3)
M db/src/Pos/DB/Update/MemState/Types.hs (3)
M db/src/Pos/DB/Update/Poll/Logic/Apply.hs (11)
M db/src/Pos/DB/Update/Poll/Logic/Base.hs (8)
M db/src/Pos/DB/Update/Poll/Logic/Softfork.hs (6)
M delegation/src/Pos/Delegation/Class.hs (2)
M delegation/src/Pos/Delegation/Types.hs (3)
M explorer/src/Pos/Explorer/BListener.hs (8)
M explorer/src/Pos/Explorer/Core/Types.hs (3)
M explorer/src/Pos/Explorer/DB.hs (3)
M explorer/src/Pos/Explorer/ExtraContext.hs (6)
M explorer/src/Pos/Explorer/Socket/Methods.hs (4)
M explorer/src/Pos/Explorer/TestUtil.hs (8)
M explorer/src/Pos/Explorer/Txp/Global.hs (5)
M explorer/src/Pos/Explorer/Txp/Toil/Logic.hs (4)
M explorer/src/Pos/Explorer/Web/ClientTypes.hs (12)
M explorer/src/Pos/Explorer/Web/Server.hs (7)
M generator/src/Pos/Generator/Block/Mode.hs (6)
M generator/src/Pos/Generator/Block/Param.hs (3)
M generator/src/Pos/Generator/BlockEvent.hs (4)
M generator/src/Pos/Generator/BlockEvent/DSL.hs (2)
M generator/src/Test/Pos/Block/Logic/Event.hs (3)
M generator/src/Test/Pos/Block/Logic/Mode.hs (2)
M generator/src/Test/Pos/Block/Logic/Util.hs (6)
M generator/test/Test/Pos/Block/Logic/VarSpec.hs (6)
M generator/test/Test/Pos/Generator/Block/LrcSpec.hs (10)
M infra/src/Pos/Infra/Diffusion/Types.hs (4)
M lib/bench/Bench/Pos/Diffusion/BlockDownload.hs (10)
M lib/src/Pos/Client/CLI/Secrets.hs (4)
M lib/src/Pos/DB/DB.hs (4)
M lib/src/Pos/Diffusion/Full.hs (5)
M lib/src/Pos/Diffusion/Full/Block.hs (7)
M lib/src/Pos/GState/GState.hs (4)
M lib/src/Pos/Launcher/Resource.hs (4)
M lib/src/Pos/Launcher/Scenario.hs (6)
M lib/src/Pos/Logic/Full.hs (4)
M lib/src/Pos/Logic/Pure.hs (10)
M lib/src/Pos/Logic/Types.hs (4)
M lib/src/Pos/Network/Block/Logic.hs (7)
M lib/src/Pos/Network/Block/Retrieval.hs (6)
M lib/src/Pos/Network/Block/Types.hs (3)
M lib/src/Pos/Web/Api.hs (3)
M lib/src/Pos/Worker/Block.hs (3)
M lib/test/Test/Pos/Diffusion/BlockSpec.hs (13)
M lrc/src/Pos/Lrc/Genesis.hs (5)
M ssc/src/Pos/Ssc/Functions.hs (5)
M ssc/src/Pos/Ssc/Toss/Logic.hs (8)
M ssc/src/Pos/Ssc/Types.hs (3)
M tools/src/blockchain-analyser/Main.hs (4)
M tools/src/blockchain-analyser/Types.hs (4)
M tools/src/keygen/Main.hs (5)
M txp/src/Pos/Txp/GenesisUtxo.hs (7)
M txp/src/Pos/Txp/Toil/Failure.hs (3)
M txp/src/Pos/Txp/Toil/Stakes.hs (6)
M txp/src/Pos/Txp/Toil/Utxo/Util.hs (6)
M update/src/Pos/Update/Poll/Failure.hs (5)
M update/src/Pos/Update/Poll/Types.hs (5)
M wallet-new/src/Cardano/Wallet/Kernel/Types.hs (2)
M wallet-new/test/unit/UTxO/Context.hs (4)
M wallet-new/test/unit/UTxO/Interpreter.hs (7)
M wallet-new/test/unit/UTxO/Translate.hs (3)
M wallet-new/test/unit/UTxO/Verify.hs (2)
M wallet/src/Pos/Wallet/Web/State/State.hs (3)
M wallet/src/Pos/Wallet/Web/State/Storage.hs (7)
M wallet/src/Pos/Wallet/Web/State/Transactions.hs (4)
M wallet/src/Pos/Wallet/Web/Tracking/BListener.hs (6)
M wallet/src/Pos/Wallet/Web/Tracking/Modifier.hs (3)
M wallet/src/Pos/Wallet/Web/Tracking/Restore.hs (4)
M wallet/src/Pos/Wallet/Web/Tracking/Sync.hs (9)
M wallet/test/Test/Pos/Wallet/Web/Util.hs (4)

— Patch Links —

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

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