haskoin-store 0.35.1 → 0.35.2
raw patch · 3 files changed
+9/−10 lines, 3 filesdep ~haskoin-storedep ~haskoin-store-data
Dependency ranges changed: haskoin-store, haskoin-store-data
Files
haskoin-store.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: cb7f884a089f07246be3cb4f0347f2fd4fc9064384e62b4570a1c3bfe6a3fdcb+-- hash: 2f2f97b31d4301490cc2d4dfa702f98c3482eed7ead5b3193ca2d2f549124bb0 name: haskoin-store-version: 0.35.1+version: 0.35.2 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@@ -53,7 +53,7 @@ , hashable >=1.3.0.0 , haskoin-core >=0.13.6 , haskoin-node >=0.14.1- , haskoin-store-data ==0.35.1+ , haskoin-store-data ==0.35.2 , hedis >=0.12.13 , http-types >=0.12.3 , monad-logger >=0.3.32@@ -96,7 +96,7 @@ , haskoin-core >=0.13.6 , haskoin-node >=0.14.1 , haskoin-store- , haskoin-store-data ==0.35.1+ , haskoin-store-data ==0.35.2 , monad-logger >=0.3.32 , mtl >=2.2.2 , nqe >=0.6.1@@ -135,8 +135,8 @@ , hashable >=1.3.0.0 , haskoin-core >=0.13.6 , haskoin-node >=0.14.1- , haskoin-store ==0.35.1- , haskoin-store-data ==0.35.1+ , haskoin-store ==0.35.2+ , haskoin-store-data ==0.35.2 , hedis >=0.12.13 , hspec >=2.7.1 , http-types >=0.12.3
src/Haskoin/Store/Cache.hs view
@@ -652,10 +652,9 @@ Nothing -> return () Just newhead -> go newhead cachehead go newhead cachehead- | cachehead == newhead = do+ | cachehead == newhead = $(logDebugS) "Cache" $- "Blocks in sync: " <> blockHashToHex cachehead- syncMempoolC+ "Blocks in sync: " <> blockHashToHex cachehead | otherwise = do ch <- asks cacheChain chainBlockMain newhead ch >>= \case
src/Haskoin/Store/Manager.hs view
@@ -202,7 +202,7 @@ where events = cacheWriterEvents evts cwm ping = forever $ do- time <- liftIO $ randomRIO (5 * second, 15 * second)+ time <- liftIO $ randomRIO (300 * second, 600 * second) threadDelay time cachePing cwm second = 1000000