haskoin-store-data 0.53.11 → 0.54.0
raw patch · 6 files changed
+25/−17 lines, 6 filesdep ~haskoin-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: haskoin-core
API changes (from Hackage documentation)
Files
- CHANGELOG.md +11/−6
- README.md +6/−5
- haskoin-store-data.cabal +4/−4
- src/Haskoin/Store/Data.hs +2/−2
- src/Haskoin/Store/WebClient.hs +1/−0
- src/Haskoin/Store/WebCommon.hs +1/−0
CHANGELOG.md view
@@ -4,23 +4,28 @@ 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.35.11+## 0.54.0+### Added+- WebSocket support.+- Testnet4 support.++## 0.53.11 ### Changed - Dummy version increase to signal upstream update of Haskoin Core. -## 0.35.10+## 0.53.10 ### Fixed - Correct test that was reversed in previous version. -## 0.35.9+## 0.53.9 ### Removed - Mempool is no longer synced by default to fix public Bitcoin Core regression. -## 0.35.8+## 0.53.8 ### Changed - Put derivations stat inside database. -## 0.35.7+## 0.53.7 ### Added - Added counters for database retrievals. - Added counter for xpub derivations.@@ -28,7 +33,7 @@ ### Changed - Removed some buggy or unnecessary stats. -## 0.35.6+## 0.53.6 ### Changed - Improve web server statistics.
README.md view
@@ -13,9 +13,9 @@ - RESTful API with JSON and binary serialization. - High performance concurrent architecture. -## Quick Install with Nix Anywhere+## Install with Nix on any distribution -* Get [Nix](https://nixos.org/nix/).+* Get [Nix](https://nixos.org/nix/) ```sh nix-env --install stack@@ -25,12 +25,12 @@ ~/.local/bin/haskoin-store --help ``` -## Install on Ubuntu 20.04 or Debian 10+## Install on Ubuntu or Debian * Get [Stack](https://haskellstack.org/) ```sh-apt install git libsecp256k1-dev librocksdb-dev pkg-config+apt install git zlib1g-dev libsecp256k1-dev librocksdb-dev pkg-config git clone https://github.com/haskoin/haskoin-store.git cd haskoin-store stack build --copy-bins@@ -39,8 +39,9 @@ ## Non-Haskell Dependencies +* [zlib](https://zlib.net/) * [libsecp256k1](https://github.com/Bitcoin-ABC/secp256k1)-* [RocksDB](https://github.com/facebook/rocksdb/)+* [RocksDB](https://github.com/facebook/rocksdb) ## API Documentation
haskoin-store-data.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 424c8ed48317c85ab1ac1c2e479d6200c5ffe64aa330e4a13bcf157ce2939c19+-- hash: 7cbb2efe0fcb3828d079b8dc59d77dff7cb7c9223b2c536426873fc02f058c16 name: haskoin-store-data-version: 0.53.11+version: 0.54.0 synopsis: Data for Haskoin Store description: Please see the README on GitHub at <https://github.com/haskoin/haskoin-store#readme> category: Bitcoin, Finance, Network@@ -46,7 +46,7 @@ , data-default >=0.7.1.1 , deepseq >=1.4.4.0 , hashable >=1.3.0.0- , haskoin-core >=0.20.4+ , haskoin-core >=0.21.0 , http-client >=0.6.4.1 , http-types >=0.12.3 , lens >=4.18.1@@ -82,7 +82,7 @@ , data-default >=0.7.1.1 , deepseq >=1.4.4.0 , hashable >=1.3.0.0- , haskoin-core >=0.20.4+ , haskoin-core >=0.21.0 , haskoin-store-data , hspec >=2.7.1 , http-client >=0.6.4.1
src/Haskoin/Store/Data.hs view
@@ -269,14 +269,14 @@ instance Serial XPubSpec where serialize XPubSpec {xPubSpecKey = k, xPubDeriveType = t} = do putWord8 (xPubDepth k)- putWord32be (xPubParent k)+ serialize (xPubParent k) putWord32be (xPubIndex k) serialize (xPubChain k) serialize (wrapPubKey True (xPubKey k)) serialize t deserialize = do d <- getWord8- p <- getWord32be+ p <- deserialize i <- getWord32be c <- deserialize k <- deserialize
src/Haskoin/Store/WebClient.hs view
@@ -78,6 +78,7 @@ import Data.Text (Text) import qualified Data.Text as Text import Haskoin.Constants+import Haskoin.Data import qualified Haskoin.Store.Data as Store import Haskoin.Store.WebCommon import Haskoin.Transaction
src/Haskoin/Store/WebCommon.hs view
@@ -22,6 +22,7 @@ import Haskoin.Block (Block, BlockHash, blockHashToHex, hexToBlockHash) import Haskoin.Constants+import Haskoin.Data import Haskoin.Crypto (Hash256) import Haskoin.Keys import qualified Haskoin.Store.Data as Store