haskoin-node 0.17.1 → 0.17.2
raw patch · 3 files changed
+11/−7 lines, 3 filesdep ~haskoin-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: haskoin-core
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- haskoin-node.cabal +5/−5
- src/Haskoin/Node/Chain.hs +2/−2
CHANGELOG.md view
@@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## 0.17.2+### Fixed+- Do not start chain actor until database initialized.+ ## 0.17.1 ### Changed - Depend on haskoin-core-0.17.3.
haskoin-node.cabal view
@@ -1,13 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.2.+-- This file has been generated from package.yaml by hpack version 0.33.0. -- -- see: https://github.com/sol/hpack ----- hash: 800641aa2018be20f603de6ee17110b8ddd469251d0222687fb2bc86021ec2d1+-- hash: 81168793adab0efc998c70424dce58b90635e1b7cf40497e31cf69ceee769b6f name: haskoin-node-version: 0.17.1+version: 0.17.2 synopsis: P2P library for Bitcoin and Bitcoin Cash description: Please see the README on GitHub at <https://github.com/haskoin/haskoin-node#readme> category: Bitcoin, Finance, Network@@ -45,7 +45,7 @@ , containers , data-default , hashable- , haskoin-core >=0.17.3+ , haskoin-core >=0.17.0 , monad-logger , mtl , network@@ -81,7 +81,7 @@ , containers , data-default , hashable- , haskoin-core >=0.17.3+ , haskoin-core >=0.17.0 , haskoin-node , hspec , monad-logger
src/Haskoin/Node/Chain.hs view
@@ -231,13 +231,13 @@ ch = Chain { chainReader = rd , chainMailbox = mailbox }+ runReaderT initChainDB rd withAsync (main_loop ch rd inbox) $ \a -> link a >> action ch where main_loop ch rd inbox = withSyncLoop ch $- run inbox `runReaderT` rd+ runReaderT (run inbox) rd run inbox = do- initChainDB withBlockHeaders getBestBlockHeader >>= chainEvent . ChainBestBlock forever $ do