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 (2102B)


      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.Internal
     30       Lightning.Protocol.BOLT5.Spend
     31       Lightning.Protocol.BOLT5.Types
     32   build-depends:
     33       base >= 4.9 && < 5
     34     , bytestring >= 0.9 && < 0.13
     35     , ppad-bolt3 >= 0.0.1 && < 0.1
     36     , ppad-sha256 >= 0.3.2 && < 0.4
     37     , ppad-tx >= 0.1 && < 0.2
     38 
     39 test-suite bolt5-tests
     40   type:                exitcode-stdio-1.0
     41   default-language:    Haskell2010
     42   hs-source-dirs:      test
     43   main-is:             Main.hs
     44 
     45   ghc-options:
     46     -rtsopts -Wall -O2
     47 
     48   build-depends:
     49       base
     50     , bytestring
     51     , ppad-bolt3
     52     , ppad-bolt5
     53     , ppad-tx
     54     , tasty
     55     , tasty-hunit
     56     , tasty-quickcheck
     57     , QuickCheck
     58 
     59 benchmark bolt5-bench
     60   type:                exitcode-stdio-1.0
     61   default-language:    Haskell2010
     62   hs-source-dirs:      bench
     63   main-is:             Main.hs
     64 
     65   ghc-options:
     66     -rtsopts -O2 -Wall -fno-warn-orphans
     67 
     68   build-depends:
     69       base
     70     , bytestring
     71     , criterion
     72     , deepseq
     73     , ppad-bolt3
     74     , ppad-bolt5
     75     , ppad-tx
     76 
     77 benchmark bolt5-weigh
     78   type:                exitcode-stdio-1.0
     79   default-language:    Haskell2010
     80   hs-source-dirs:      bench
     81   main-is:             Weight.hs
     82 
     83   ghc-options:
     84     -rtsopts -O2 -Wall -fno-warn-orphans
     85 
     86   build-depends:
     87       base
     88     , bytestring
     89     , deepseq
     90     , ppad-bolt3
     91     , ppad-bolt5
     92     , ppad-tx
     93     , weigh