cabal-version: 2.2
name: bitcoin-compact-filters
version: 0.1.0.1
synopsis: BIP 158 compact block filters
copyright: 2020 Bitnomial, Inc.
license: BSD-3-Clause
license-file: LICENSE
author: Ian Shipman
maintainer: ics@gambolingpangolin.com
build-type: Simple
extra-source-files: CHANGELOG.md
data-files:
examples/*.json
common core
default-language: Haskell2010
ghc-options: -Wall
build-depends:
base >=4.12 && <4.15
, bytestring >=0.10 && <0.12
, cereal ^>=0.5
, haskoin-core >=0.13 && <0.19
, text ^>=1.2
library
import: core
hs-source-dirs: src
exposed-modules:
Bitcoin.CompactFilter
build-depends:
bitstream ^>=0.3.0.1
, base16-bytestring <1.0
, transformers ^>=0.5
, memory ^>=0.15
test-suite bitcoin-cf-tests
import: core
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
Test.CompactFilter
Test.Examples.Bip
Test.Examples.Mainnet
Test.Util
Paths_bitcoin_compact_filters
autogen-modules:
Paths_bitcoin_compact_filters
build-depends:
aeson >=1.0 && <1.6
, bitcoin-compact-filters
, tasty >=1.0 && <1.5
, tasty-hunit >=0.9 && <0.11
, tasty-quickcheck >=0.8.1 && <0.11