bolt3

Lightning transaction and script formats, per BOLT #3 (docs.ppad.tech/bolt3).
git clone git://git.ppad.tech/bolt3.git
Log | Files | Refs | README | LICENSE

ppad-bolt3.cabal (2174B)


      1 cabal-version:      3.0
      2 name:               ppad-bolt3
      3 version:            0.0.1
      4 synopsis:           Bitcoin transaction formats per BOLT #3
      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   Bitcoin transaction formats for the Lightning Network, per
     15   [BOLT #3](https://github.com/lightning/bolts/blob/master/03-transactions.md).
     16 
     17 source-repository head
     18   type:     git
     19   location: git.ppad.tech/bolt3.git
     20 
     21 library
     22   default-language: Haskell2010
     23   hs-source-dirs:   lib
     24   ghc-options:
     25       -Wall
     26   exposed-modules:
     27       Lightning.Protocol.BOLT3
     28       Lightning.Protocol.BOLT3.Decode
     29       Lightning.Protocol.BOLT3.Encode
     30       Lightning.Protocol.BOLT3.Keys
     31       Lightning.Protocol.BOLT3.Scripts
     32       Lightning.Protocol.BOLT3.Tx
     33       Lightning.Protocol.BOLT3.Types
     34       Lightning.Protocol.BOLT3.Validate
     35   build-depends:
     36       base >= 4.9 && < 5
     37     , bytestring >= 0.9 && < 0.13
     38     , ppad-ripemd160 >= 0.1.4 && < 0.2
     39     , ppad-secp256k1 >= 0.5.4 && < 0.6
     40     , ppad-sha256 >= 0.3.2 && < 0.4
     41     , ppad-tx >= 0.1 && < 0.2
     42 
     43 test-suite bolt3-tests
     44   type:                exitcode-stdio-1.0
     45   default-language:    Haskell2010
     46   hs-source-dirs:      test
     47   main-is:             Main.hs
     48 
     49   ghc-options:
     50     -rtsopts -Wall -O2
     51 
     52   build-depends:
     53       base
     54     , base16-bytestring
     55     , bytestring
     56     , ppad-bolt3
     57     , tasty
     58     , tasty-hunit
     59 
     60 benchmark bolt3-bench
     61   type:                exitcode-stdio-1.0
     62   default-language:    Haskell2010
     63   hs-source-dirs:      bench
     64   main-is:             Main.hs
     65 
     66   ghc-options:
     67     -rtsopts -O2 -Wall -fno-warn-orphans
     68 
     69   build-depends:
     70       base
     71     , bytestring
     72     , criterion
     73     , deepseq
     74     , ppad-bolt3
     75 
     76 benchmark bolt3-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     , weigh
     91