packages feed

haskoin-store-data 0.46.1 → 0.46.2

raw patch · 3 files changed

+8/−4 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Haskoin.Store.Data: BinfoUnspent :: !TxHash -> !Word32 -> !ByteString -> !Word64 -> !Word32 -> !BinfoTxId -> !Maybe BinfoXPubPath -> BinfoUnspent
+ Haskoin.Store.Data: BinfoUnspent :: !TxHash -> !Word32 -> !ByteString -> !Word64 -> !Int32 -> !BinfoTxId -> !Maybe BinfoXPubPath -> BinfoUnspent
- Haskoin.Store.Data: [getBinfoUnspentConfirmations] :: BinfoUnspent -> !Word32
+ Haskoin.Store.Data: [getBinfoUnspentConfirmations] :: BinfoUnspent -> !Int32

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.46.2+### Changed+- Allow negative confirmations for compatibility with old API.+ ## 0.46.1 ### Added - Filters for transactions in multiaddr endpoint.
haskoin-store-data.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 4d0e46ffd2b1e7753ee56dbcede2298207f4b484b619551ff50ee149aea2d6a8+-- hash: c253c00b9cb5278e19624620258973d4a989bc4cb42201c38cb60ba8af2e1f0a  name:           haskoin-store-data-version:        0.46.1+version:        0.46.2 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
@@ -162,7 +162,7 @@ import           Data.HashSet            (HashSet) import qualified Data.HashSet            as HashSet import           Data.Hashable           (Hashable (..))-import           Data.Int                (Int64)+import           Data.Int                (Int32, Int64) import qualified Data.IntMap             as IntMap import           Data.IntMap.Strict      (IntMap) import           Data.Map.Strict         (Map)@@ -1809,7 +1809,7 @@       , getBinfoUnspentOutputIndex   :: !Word32       , getBinfoUnspentScript        :: !ByteString       , getBinfoUnspentValue         :: !Word64-      , getBinfoUnspentConfirmations :: !Word32+      , getBinfoUnspentConfirmations :: !Int32       , getBinfoUnspentTxIndex       :: !BinfoTxId       , getBinfoUnspentXPub          :: !(Maybe BinfoXPubPath)       } deriving (Eq, Show, Generic, Serialize, NFData)