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


      1 cabal-version:      3.0
      2 name:               ppad-bolt3
      3 version:            0.1.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 and script 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   other-modules:
     29       Lightning.Protocol.BOLT3.Keys
     30       Lightning.Protocol.BOLT3.Scripts
     31       Lightning.Protocol.BOLT3.Tx
     32       Lightning.Protocol.BOLT3.Types
     33   build-depends:
     34       base >= 4.9 && < 5
     35     , bytestring >= 0.9 && < 0.13
     36     , deepseq >= 1.4 && < 1.6
     37     , ppad-bolt1 >= 0.1 && < 0.2
     38     , ppad-fixed >= 0.2.1 && < 0.3
     39     , ppad-ripemd160 >= 0.1.4 && < 0.2
     40     , ppad-secp256k1 >= 0.5.9 && < 0.6
     41     , ppad-sha256 >= 0.3.2 && < 0.4
     42     , ppad-tx >= 0.2 && < 0.3
     43 
     44 test-suite bolt3-tests
     45   type:                exitcode-stdio-1.0
     46   default-language:    Haskell2010
     47   hs-source-dirs:      test
     48   main-is:             Main.hs
     49   other-modules:
     50       Vectors
     51 
     52   ghc-options:
     53     -rtsopts -Wall
     54 
     55   build-depends:
     56       base
     57     , bytestring
     58     , ppad-base16
     59     , ppad-bolt1
     60     , ppad-bolt3
     61     , ppad-secp256k1
     62     , ppad-sha256
     63     , ppad-tx
     64     , QuickCheck
     65     , tasty
     66     , tasty-hunit
     67     , tasty-quickcheck
     68 
     69 benchmark bolt3-bench
     70   type:                exitcode-stdio-1.0
     71   default-language:    Haskell2010
     72   hs-source-dirs:      bench
     73   main-is:             Main.hs
     74   other-modules:       Fixtures
     75 
     76   ghc-options:
     77     -rtsopts -O2 -Wall
     78 
     79   build-depends:
     80       base
     81     , bytestring
     82     , criterion
     83     , deepseq
     84     , ppad-base16
     85     , ppad-bolt1
     86     , ppad-bolt3
     87     , ppad-secp256k1
     88     , ppad-sha256
     89     , ppad-tx
     90 
     91 benchmark bolt3-weigh
     92   type:                exitcode-stdio-1.0
     93   default-language:    Haskell2010
     94   hs-source-dirs:      bench
     95   main-is:             Weight.hs
     96   other-modules:       Fixtures
     97 
     98   ghc-options:
     99     -rtsopts -O2 -Wall
    100 
    101   build-depends:
    102       base
    103     , bytestring
    104     , deepseq
    105     , ppad-base16
    106     , ppad-bolt1
    107     , ppad-bolt3
    108     , ppad-secp256k1
    109     , ppad-sha256
    110     , ppad-tx
    111     , weigh