Сryptocurrency development analysis

Description

Move: Pos.Infra.{
– Util.LogSafe
– Util.TimeLimit
– Util.TimeWarp
– Shutdown
– StateLock
}

from `infra` to `sinbin` so we can free `infra` up in the dependency graph.

## Linked issue

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

## 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.
You can view, comment on, or merge this pull request online at:

https://github.com/input-output-hk/cardano-sl/pull/3202

— Commit Summary —

* [CDEC-416] Move `{Shutdown,StateLock,TimeWarp}` to `sinbin`
* [CDEC-416] Move `Infra.Util.{LogSafe,TimeLimit}` to `sinbin`

— File Changes —

M infra/src/Pos/Infra/Shutdown.hs (8)
M infra/src/Pos/Infra/Shutdown/Class.hs (15)
M infra/src/Pos/Infra/Shutdown/Logic.hs (23)
M infra/src/Pos/Infra/Shutdown/Types.hs (16)
M infra/src/Pos/Infra/StateLock.hs (157)
M infra/src/Pos/Infra/Util/LogSafe.hs (352)
M infra/src/Pos/Infra/Util/TimeLimit.hs (123)
M infra/src/Pos/Infra/Util/TimeWarp.hs (54)
M sinbin/cardano-sl-sinbin.cabal (12)
A sinbin/src/Pos/Sinbin/Shutdown.hs (7)
A sinbin/src/Pos/Sinbin/Shutdown/Class.hs (16)
A sinbin/src/Pos/Sinbin/Shutdown/Logic.hs (24)
A sinbin/src/Pos/Sinbin/Shutdown/Types.hs (17)
A sinbin/src/Pos/Sinbin/StateLock.hs (162)
A sinbin/src/Pos/Sinbin/Util/LogSafe.hs (362)
A sinbin/src/Pos/Sinbin/Util/TimeLimit.hs (127)
A sinbin/src/Pos/Sinbin/Util/TimeWarp.hs (55)

— Patch Links —

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

This post was last modified on July 6, 2018, 4:00 am

Categories: cryptocurrency