packages feed

haskoin-store 0.64.4 → 0.64.5

raw patch · 3 files changed

+12/−10 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,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.64.5+### Changed+- Add suffix cached to cache entries to avoid conflicts with data entries.+ ## 0.64.4 ### Fixed - Bring dots back and avoid stats hacks.
haskoin-store.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           haskoin-store-version:        0.64.4+version:        0.64.5 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@@ -60,7 +60,7 @@     , hashable >=1.3.0.0     , haskoin-core >=0.21.1     , haskoin-node >=0.17.0-    , haskoin-store-data ==0.64.4+    , haskoin-store-data ==0.64.5     , hedis >=0.12.13     , http-types >=0.12.3     , lens >=4.18.1@@ -116,7 +116,7 @@     , haskoin-core >=0.21.1     , haskoin-node >=0.17.0     , haskoin-store-    , haskoin-store-data ==0.64.4+    , haskoin-store-data ==0.64.5     , hedis >=0.12.13     , http-types >=0.12.3     , lens >=4.18.1@@ -177,7 +177,7 @@     , haskoin-core >=0.21.1     , haskoin-node >=0.17.0     , haskoin-store-    , haskoin-store-data ==0.64.4+    , haskoin-store-data ==0.64.5     , hedis >=0.12.13     , hspec >=2.7.1     , http-types >=0.12.3
src/Haskoin/Store/Cache.hs view
@@ -200,7 +200,6 @@     , cacheXPubTxs :: !Metrics.Counter     , cacheXPubTxCount :: !Metrics.Counter     , cacheIndexTime :: !StatDist-    , cacheBlockSyncTime :: !StatDist     }  newCacheMetrics :: MonadIO m => Metrics.Store -> m CacheMetrics@@ -211,11 +210,10 @@     cacheLockReleased <- c "cache.lock_released"     cacheLockFailed <- c "cache.lock_failed"     cacheIndexTime <- d "cache.index"-    cacheBlockSyncTime <- d "cache.block_sync"-    cacheXPubBals <- c "cache.xpub_balances"-    cacheXPubUnspents <- c "cache.xpub_unspents"-    cacheXPubTxs <- c "cache.xpub_txs"-    cacheXPubTxCount <- c "cache.xpub_tx_count"+    cacheXPubBals <- c "cache.xpub_balances_cached"+    cacheXPubUnspents <- c "cache.xpub_unspents_cached"+    cacheXPubTxs <- c "cache.xpub_txs_cached"+    cacheXPubTxCount <- c "cache.xpub_tx_count_cached"     return CacheMetrics{..}   where     c x = Metrics.createCounter x s