Сryptocurrency development analysis

Description

Break the types in `Pos.Core.Delegation` into their own modules.

## Linked issue

[CDEC-345](https://iohk.myjetbrains.com/youtrack/issue/CDEC-345)

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

— [x] 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.
— [x] If my code deals with exceptions, it follows the [guidelines](https://github.com/input-output-hk/cardano-sl/blob/develop/docs/exceptions.md).
— [x] 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/3024

— Commit Summary —

* [CDEC-345] Refactor Pos.Core.Delegation module set

— File Changes —

M core/cardano-sl-core.cabal (6)
M core/src/Pos/Core/Delegation.hs (118)
A core/src/Pos/Core/Delegation/HeavyDlgIndex.hs (33)
A core/src/Pos/Core/Delegation/LightDlgIndices.hs (37)
A core/src/Pos/Core/Delegation/Payload.hs (42)
A core/src/Pos/Core/Delegation/Proof.hs (16)

— Patch Links —

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

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