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


      1 cabal-version:      3.0
      2 name:               ppad-bolt5
      3 version:            0.1.0
      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   other-modules:
     29       Lightning.Protocol.BOLT5.Detect
     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     , deepseq >= 1.4 && < 1.6
     36     , ppad-bolt1 >= 0.1 && < 0.2
     37     , ppad-bolt3 >= 0.1 && < 0.2
     38     , ppad-sha256 >= 0.3.2 && < 0.4
     39     , ppad-tx >= 0.2 && < 0.3
     40 
     41 test-suite bolt5-tests
     42   type:                exitcode-stdio-1.0
     43   default-language:    Haskell2010
     44   hs-source-dirs:      test
     45   main-is:             Main.hs
     46 
     47   ghc-options:
     48     -rtsopts -Wall
     49 
     50   build-depends:
     51       base
     52     , bytestring
     53     , ppad-bolt1
     54     , ppad-bolt3
     55     , ppad-bolt5
     56     , ppad-sha256
     57     , ppad-tx
     58     , tasty
     59     , tasty-hunit
     60     , tasty-quickcheck
     61     , QuickCheck
     62 
     63 benchmark bolt5-bench
     64   type:                exitcode-stdio-1.0
     65   default-language:    Haskell2010
     66   hs-source-dirs:      bench
     67   main-is:             Main.hs
     68   other-modules:       Fixtures
     69 
     70   ghc-options:
     71     -rtsopts -O2 -Wall
     72 
     73   build-depends:
     74       base
     75     , bytestring
     76     , criterion
     77     , deepseq
     78     , ppad-bolt1
     79     , ppad-bolt3
     80     , ppad-bolt5
     81     , ppad-sha256
     82     , ppad-tx
     83 
     84 benchmark bolt5-weigh
     85   type:                exitcode-stdio-1.0
     86   default-language:    Haskell2010
     87   hs-source-dirs:      bench
     88   main-is:             Weight.hs
     89   other-modules:       Fixtures
     90 
     91   ghc-options:
     92     -rtsopts -O2 -Wall
     93 
     94   build-depends:
     95       base
     96     , bytestring
     97     , deepseq
     98     , ppad-bolt1
     99     , ppad-bolt3
    100     , ppad-bolt5
    101     , ppad-sha256
    102     , ppad-tx
    103     , weigh