packages feed

haskoin-node-2.4.0: haskoin-node.cabal

cabal-version: 1.18

-- This file has been generated from package.yaml by hpack version 0.39.6.
--
-- see: https://github.com/sol/hpack

name:           haskoin-node
version:        2.4.0
synopsis:       P2P library for Bitcoin and Bitcoin Cash
description:    Connect to Bitcoin (BTC) and Bitcoin Cash (BCH) peers, keep them healthy, and sync block headers into a RocksDB database. Blocks and transactions can be downloaded from connected peers. See the README on GitHub at <https://github.com/jprupp/haskoin-node#readme>.
category:       Bitcoin, Finance, Network
homepage:       https://github.com/jprupp/haskoin-node#readme
bug-reports:    https://github.com/jprupp/haskoin-node/issues
author:         JP Rupp
maintainer:     jprupp@protonmail.ch
copyright:      2020 Haskoin Developers
license:        MIT
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC == 9.12.4
extra-source-files:
    test/regtest/Containerfile
extra-doc-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/jprupp/haskoin-node

library
  exposed-modules:
      Haskoin.Node
      Haskoin.Node.Address
      Haskoin.Node.Chain
      Haskoin.Node.Chain.Database
      Haskoin.Node.Chain.Sync
      Haskoin.Node.Logger
      Haskoin.Node.Loop
      Haskoin.Node.Peer
      Haskoin.Node.Peer.Lock
      Haskoin.Node.Peer.Request
      Haskoin.Node.PeerMgr
      Haskoin.Node.PeerMgr.Addresses
      Haskoin.Node.PeerMgr.Handshake
      Haskoin.Node.PeerMgr.Lifecycle
  hs-source-dirs:
      src
  default-extensions:
      DuplicateRecordFields
      MultiWayIf
      NoFieldSelectors
      OverloadedRecordDot
      OverloadedStrings
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -Wunused-packages
  build-depends:
      async ==2.2.*
    , base >=4.20 && <5
    , bytestring >=0.11 && <0.13
    , cereal ==0.5.*
    , conduit ==1.3.*
    , conduit-extra ==1.3.*
    , containers >=0.6 && <0.8
    , fast-logger ==3.2.*
    , haskoin-core >=1.6.1 && <1.7
    , network >=3.1 && <3.3
    , nqe >=0.6.9 && <0.7
    , random >=1.2 && <1.4
    , rocksdb-haskell-jprupp >=2.6.1 && <2.7
    , rocksdb-query >=0.6.1 && <0.7
    , stm ==2.5.*
    , string-conversions ==0.4.*
    , text >=2.0 && <2.2
    , time >=1.12 && <1.15
    , transformers ==0.6.*
  default-language: GHC2024

test-suite regtest
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Regtest.Podman
      Haskoin.Node.Test
      Paths_haskoin_node
  hs-source-dirs:
      test/regtest
      test/common
  default-extensions:
      DuplicateRecordFields
      MultiWayIf
      NoFieldSelectors
      OverloadedRecordDot
      OverloadedStrings
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -Wunused-packages -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      HUnit
    , base >=4.20 && <5
    , bytestring
    , cereal
    , conduit
    , data-default
    , directory
    , haskoin-core
    , haskoin-node
    , hspec >=2.10
    , network
    , nqe
    , process
    , random
    , rocksdb-haskell-jprupp
    , time
    , unliftio
  default-language: GHC2024

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Haskoin.Node.AddressSpec
      Haskoin.Node.Chain.SyncSpec
      Haskoin.Node.ChainSpec
      Haskoin.Node.Peer.LockSpec
      Haskoin.Node.Peer.RequestSpec
      Haskoin.Node.PeerMgr.AddressesSpec
      Haskoin.Node.PeerMgr.HandshakeSpec
      Haskoin.Node.PeerMgr.LifecycleSpec
      Haskoin.Node.PeerMgrSpec
      Haskoin.Node.PeerSpec
      Haskoin.NodeSpec
      Haskoin.Node.Test
      Paths_haskoin_node
  hs-source-dirs:
      test/unit
      test/common
  default-extensions:
      DuplicateRecordFields
      MultiWayIf
      NoFieldSelectors
      OverloadedRecordDot
      OverloadedStrings
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -Wunused-packages -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      HUnit
    , QuickCheck >=2.14
    , async
    , base >=4.20 && <5
    , base64
    , bytestring
    , cereal
    , conduit
    , data-default
    , haskoin-core
    , haskoin-node
    , hspec >=2.10
    , network
    , nqe
    , random
    , rocksdb-haskell-jprupp
    , text
    , time
    , unliftio
  default-language: GHC2024
  build-tool-depends:
      hspec-discover:hspec-discover