packages feed

haskoin-store 0.6.3 → 0.6.4

raw patch · 3 files changed

+9/−4 lines, 3 files

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.6.4+### Changed+- Do not fail silently when importing orphan transactions into the mempool.+ ## 0.6.3 ### Changed - Dummy release to bump haskoin-node in stack.yaml.
haskoin-store.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: b4f7b6f7dd541812e32115220092ac68fd85f3ca81d209035d64fd675050ae9e+-- hash: fcd3e8377f4350d2c7dc147552da91e06021944773c25399c08de50d10665ca2  name:           haskoin-store-version:        0.6.3+version:        0.6.4 synopsis:       Storage and index for Bitcoin and Bitcoin Cash description:    Store blocks, transactions, and balances for Bitcoin or Bitcoin Cash, and make that information via REST API. category:       Bitcoin, Finance, Network
src/Network/Haskoin/Store/Logic.hs view
@@ -104,8 +104,9 @@             any isNothing <$>             mapM (getTxData i . outPointHash . prevOutput) (txIn tx)         if orp-            then $(logErrorS) "BlockLogic" $-                 "Transaction is orphan: " <> txHashToHex (txHash tx)+            then do+                $(logErrorS) "BlockLogic" $ "Transaction is orphan: " <> txHashToHex (txHash tx)+                throwError $ OrphanTx (txHash tx)             else f     f = do         us <-