bolt5

On-chain transaction handling for Lightning (docs.ppad.tech/bolt5).
git clone git://git.ppad.tech/bolt5.git
Log | Files | Refs | README | LICENSE

ppad-bolt5.cabal (2062B)


      1 cabal-version:      3.0
      2 name:               ppad-bolt5
      3 version:            0.0.1
      4 synopsis:           On-chain transaction handling per BOLT #5
      5 license:            MIT
      6 license-file:       LICENSE
      7 author:             Jared Tobin
      8 maintainer:         jared@ppad.tech
      9 category:           Cryptography
     10 build-type:         Simple
     11 tested-with:        GHC == 9.10.3
     12 extra-doc-files:    CHANGELOG
     13 description:
     14   On-chain transaction handling, per
     15   [BOLT #5](https://github.com/lightning/bolts/blob/master/05-onchain.md).
     16 
     17 source-repository head
     18   type:     git
     19   location: git.ppad.tech/bolt5.git
     20 
     21 library
     22   default-language: Haskell2010
     23   hs-source-dirs:   lib
     24   ghc-options:
     25       -Wall
     26   exposed-modules:
     27       Lightning.Protocol.BOLT5
     28       Lightning.Protocol.BOLT5.Detect
     29       Lightning.Protocol.BOLT5.Spend
     30       Lightning.Protocol.BOLT5.Types
     31   build-depends:
     32       base >= 4.9 && < 5
     33     , bytestring >= 0.9 && < 0.13
     34     , ppad-bolt3 >= 0.0.1 && < 0.1
     35     , ppad-sha256 >= 0.3.2 && < 0.4
     36     , ppad-tx >= 0.1 && < 0.2
     37 
     38 test-suite bolt5-tests
     39   type:                exitcode-stdio-1.0
     40   default-language:    Haskell2010
     41   hs-source-dirs:      test
     42   main-is:             Main.hs
     43 
     44   ghc-options:
     45     -rtsopts -Wall -O2
     46 
     47   build-depends:
     48       base
     49     , bytestring
     50     , ppad-bolt3
     51     , ppad-bolt5
     52     , ppad-tx
     53     , tasty
     54     , tasty-hunit
     55     , tasty-quickcheck
     56     , QuickCheck
     57 
     58 benchmark bolt5-bench
     59   type:                exitcode-stdio-1.0
     60   default-language:    Haskell2010
     61   hs-source-dirs:      bench
     62   main-is:             Main.hs
     63 
     64   ghc-options:
     65     -rtsopts -O2 -Wall -fno-warn-orphans
     66 
     67   build-depends:
     68       base
     69     , bytestring
     70     , criterion
     71     , deepseq
     72     , ppad-bolt3
     73     , ppad-bolt5
     74     , ppad-tx
     75 
     76 benchmark bolt5-weigh
     77   type:                exitcode-stdio-1.0
     78   default-language:    Haskell2010
     79   hs-source-dirs:      bench
     80   main-is:             Weight.hs
     81 
     82   ghc-options:
     83     -rtsopts -O2 -Wall -fno-warn-orphans
     84 
     85   build-depends:
     86       base
     87     , bytestring
     88     , deepseq
     89     , ppad-bolt3
     90     , ppad-bolt5
     91     , ppad-tx
     92     , weigh