packages feed

haskoin-store 0.65.0 → 0.65.1

raw patch · 3 files changed

+10/−7 lines, 3 filesdep ~haskoin-store-dataPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: haskoin-store-data

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -4,6 +4,11 @@ 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.65.1+### Changed+- Simplify function in Cache module.+- Bump depenedencies.+ ## 0.65.0 ### Changed - Spenders now embedded into tx objects in database for performance.
haskoin-store.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           haskoin-store-version:        0.65.0+version:        0.65.1 synopsis:       Storage and index for Bitcoin and Bitcoin Cash description:    Please see the README on GitHub at <https://github.com/haskoin/haskoin-store#readme> category:       Bitcoin, Finance, Network@@ -61,7 +61,7 @@     , hashtables >=1.2.4.2     , haskoin-core >=0.21.1     , haskoin-node >=0.17.0-    , haskoin-store-data ==0.65.0+    , haskoin-store-data ==0.65.1     , hedis >=0.12.13     , http-types >=0.12.3     , lens >=4.18.1@@ -118,7 +118,7 @@     , haskoin-core >=0.21.1     , haskoin-node >=0.17.0     , haskoin-store-    , haskoin-store-data ==0.65.0+    , haskoin-store-data ==0.65.1     , hedis >=0.12.13     , http-types >=0.12.3     , lens >=4.18.1@@ -180,7 +180,7 @@     , haskoin-core >=0.21.1     , haskoin-node >=0.17.0     , haskoin-store-    , haskoin-store-data ==0.65.0+    , haskoin-store-data ==0.65.1     , hedis >=0.12.13     , hspec >=2.7.1     , http-types >=0.12.3
src/Haskoin/Store/Cache.hs view
@@ -856,9 +856,7 @@ cacheWriterReact CacheNewBlock =   doSync cacheWriterReact (CacheNewTx txid) =-  withLock go >>= \case-    Just () -> return ()-    Nothing -> smallDelay >> cacheWriterReact (CacheNewTx txid)+  withLockForever go   where     hex = txHashToHex txid     go =