haskoin-store-data 0.48.0 → 0.49.0
raw patch · 3 files changed
+13/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Haskoin.Store.Data: instance GHC.Classes.Ord Haskoin.Store.Data.BinfoXPubPath
Files
- CHANGELOG.md +4/−0
- haskoin-store-data.cabal +2/−2
- src/Haskoin/Store/Data.hs +7/−0
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.49.0+### Changed+- Improve conduit merging algorithm.+ ## 0.48.0 ### Added - Timeouts and token bucket for web requests.
haskoin-store-data.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 896ebdbda04fb65df2964dd33673cfe915511822e73e13d35ed460f5a3619ad7+-- hash: 06763167c3dba87d18b701073a8f3a23b9c45c01d135a9a844f0f2e1f5a3a6cc name: haskoin-store-data-version: 0.48.0+version: 0.49.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
src/Haskoin/Store/Data.hs view
@@ -2974,6 +2974,13 @@ } deriving (Eq, Show, Generic, NFData) +instance Ord BinfoXPubPath where+ compare = compare `on` f+ where+ f b = ( xPubParent (getBinfoXPubPathKey b),+ getBinfoXPubPathDeriv b+ )+ binfoXPubPathToJSON :: Network -> BinfoXPubPath -> Value binfoXPubPathToJSON net BinfoXPubPath {..} = A.object