Сryptocurrency development analysis

Description

As per title. This is part 1 of what is likely to be 2 PRs.

## Linked issue

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

## 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
— [x] 🔨 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/3241

— Commit Summary —

* CDEC-438: Move sin binned Ssc modules back home
* block: Use formatting instead of text-format
* CDEC-438: Move sin binned Slotting code to core package
* CDEC-438: Fixes after Slotting changes

— File Changes —

M auxx/src/Mode.hs (3)
M block/cardano-sl-block.cabal (2)
M block/src/Pos/Block/Logic/Header.hs (2)
M block/src/Pos/Block/Logic/Util.hs (4)
M block/src/Pos/Block/Lrc.hs (2)
M block/src/Pos/Block/Slog/Logic.hs (2)
M core/cardano-sl-core.cabal (5)
M core/src/Pos/Core/Slotting.hs (8)
R core/src/Pos/Core/Slotting/Class.hs (7)
R core/src/Pos/Core/Slotting/MemState.hs (13)
R core/src/Pos/Core/Slotting/Types.hs (12)
R core/src/Pos/Core/Slotting/Util.hs (24)
M generator/src/Test/Pos/Block/Logic/Mode.hs (2)
M infra/cardano-sl-infra.cabal (2)
M infra/src/Pos/Infra/Communication/Protocol.hs (2)
M infra/src/Pos/Infra/Communication/Types/Relay.hs (2)
M infra/src/Pos/Infra/DHT/Workers.hs (3)
M infra/src/Pos/Infra/Slotting.hs (2)
M infra/src/Pos/Infra/Slotting/Class.hs (2)
M infra/src/Pos/Infra/Slotting/Impl/Simple.hs (7)
M infra/src/Pos/Infra/Slotting/Impl/Util.hs (12)
D infra/src/Pos/Infra/Slotting/MemState.hs (6)
M infra/src/Pos/Infra/Slotting/Types.hs (2)
M infra/src/Pos/Infra/Slotting/Util.hs (13)
M infra/test/Test/Pos/Infra/Arbitrary/Ssc.hs (2)
M infra/test/cardano-sl-infra-test.cabal (1)
M lib/src/Pos/Communication/Limits.hs (2)
M lib/src/Pos/Communication/Message.hs (2)
M lib/src/Pos/Diffusion/Full.hs (2)
M lib/src/Pos/Diffusion/Full/Ssc.hs (2)
M lib/src/Pos/Launcher/Mode.hs (2)
M lib/src/Pos/Logic/Full.hs (4)
M lib/src/Pos/Logic/Types.hs (2)
M lib/src/Pos/WorkMode.hs (3)
M lib/src/Pos/Worker/Ssc.hs (2)
M sinbin/cardano-sl-sinbin.cabal (15)
D sinbin/src/Pos/Sinbin/Slotting.hs (8)
D sinbin/src/Pos/Sinbin/Ssc/Base.hs (83)
D sinbin/src/Pos/Sinbin/Ssc/Behavior.hs (90)
D sinbin/src/Pos/Sinbin/Ssc/Message.hs (78)
D sinbin/src/Pos/Sinbin/Ssc/Toss/Types.hs (77)
D sinbin/src/Pos/Sinbin/Ssc/Types.hs (211)
D sinbin/src/Pos/Sinbin/Ssc/VssCertData.hs (265)
M sinbin/test/Test/Pos/Sinbin/Arbitrary/Slotting.hs (4)
M sinbin/test/cardano-sl-sinbin-test.cabal (1)
M ssc/src/Pos/Ssc/Base.hs (62)
M ssc/src/Pos/Ssc/Behavior.hs (89)
M ssc/src/Pos/Ssc/Logic/Local.hs (2)
M ssc/src/Pos/Ssc/Message.hs (77)
M ssc/src/Pos/Ssc/State.hs (2)
M ssc/src/Pos/Ssc/State/Local.hs (2)
M ssc/src/Pos/Ssc/Toss/Types.hs (69)
M ssc/src/Pos/Ssc/Types.hs (210)
M ssc/src/Pos/Ssc/VssCertData.hs (264)
M txp/src/Pos/Txp/Logic/Local.hs (2)
M txp/src/Pos/Txp/MemState/Class.hs (2)
M txp/src/Pos/Txp/Settings/Global.hs (2)
M update/src/Pos/Update/Context.hs (2)
M update/src/Pos/Update/DB.hs (4)
M update/src/Pos/Update/Logic/Global.hs (3)
M update/src/Pos/Update/MemState/Types.hs (2)
M update/src/Pos/Update/Poll/Class.hs (2)
M update/src/Pos/Update/Poll/Logic/Base.hs (6)
M update/src/Pos/Update/Poll/Modifier.hs (2)
M update/src/Pos/Update/Poll/PollState.hs (3)
M update/src/Pos/Update/Poll/Types.hs (3)
M wallet/src/Pos/Wallet/Web/Mode.hs (3)

— Patch Links —

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

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