haskoin-store 0.30.0 → 0.30.1
raw patch · 2 files changed
+8/−6 lines, 2 filesdep ~haskoin-store-data
Dependency ranges changed: haskoin-store-data
Files
- haskoin-store.cabal +5/−5
- src/Haskoin/Store/Web.hs +3/−1
haskoin-store.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: c33ef398531e66206867203d7fd8c2a0cdcd3a4e7f870313d9634c2a2818c5b2+-- hash: 77d6055c6a570fea7b596bc084accc7376a618e7b3dc0a8126355fcdea6b82ac name: haskoin-store-version: 0.30.0+version: 0.30.1 synopsis: Storage and index for Bitcoin and Bitcoin Cash description: Store and index Bitcoin or Bitcoin Cash blocks, transactions, balances and unspent outputs. All data is available via REST API in JSON or binary format.@@ -57,7 +57,7 @@ , hashable >=1.3.0.0 , haskoin-core >=0.13.3 , haskoin-node >=0.13.0- , haskoin-store-data ==0.30.0+ , haskoin-store-data ==0.30.1 , hedis >=0.12.13 , http-types >=0.12.3 , monad-logger >=0.3.32@@ -99,7 +99,7 @@ , haskoin-core >=0.13.3 , haskoin-node >=0.13.0 , haskoin-store- , haskoin-store-data ==0.30.0+ , haskoin-store-data ==0.30.1 , monad-logger >=0.3.32 , mtl >=2.2.2 , nqe >=0.6.1@@ -149,7 +149,7 @@ , hashable >=1.3.0.0 , haskoin-core >=0.13.3 , haskoin-node >=0.13.0- , haskoin-store-data ==0.30.0+ , haskoin-store-data ==0.30.1 , hedis >=0.12.13 , hspec >=2.7.1 , http-types >=0.12.3
src/Haskoin/Store/Web.hs view
@@ -431,8 +431,10 @@ scottyMempool :: (MonadUnliftIO m, MonadLoggerIO m) => WebT m () scottyMempool = do setHeaders+ l <- fromIntegral <$> getLimit False+ o <- fromIntegral <$> getOffset proto <- setupBin- txs <- map txRefHash <$> getMempool+ txs <- take l . drop o . map txRefHash <$> getMempool protoSerial proto txs scottyTransaction :: (MonadUnliftIO m, MonadLoggerIO m) => WebT m ()