bolt1

Base Lightning protocol, per BOLT #1 (docs.ppad.tech/bolt1).
git clone git://git.ppad.tech/bolt1.git
Log | Files | Refs | README | LICENSE

ppad-bolt1.cabal (2041B)


      1 cabal-version:      3.0
      2 name:               ppad-bolt1
      3 version:            0.1.0
      4 synopsis:           Base protocol per BOLT #1
      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   Base protocol, per
     15   [BOLT #1](https://github.com/lightning/bolts/blob/master/01-messaging.md).
     16 
     17 source-repository head
     18   type:     git
     19   location: git.ppad.tech/bolt1.git
     20 
     21 library
     22   default-language: Haskell2010
     23   hs-source-dirs:   lib
     24   ghc-options:
     25       -Wall
     26   exposed-modules:
     27       Lightning.Protocol.BOLT1
     28   other-modules:
     29       Lightning.Protocol.BOLT1.Codec
     30       Lightning.Protocol.BOLT1.Message
     31       Lightning.Protocol.BOLT1.Prim
     32       Lightning.Protocol.BOLT1.TLV
     33   build-depends:
     34       base >= 4.9 && < 5
     35     , bytestring >= 0.9 && < 0.13
     36     , deepseq >= 1.4 && < 1.6
     37     , ppad-bolt9 >= 0.1 && < 0.2
     38 
     39 test-suite bolt1-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
     47 
     48   build-depends:
     49       base
     50     , bytestring
     51     , ppad-base16
     52     , ppad-bolt1
     53     , ppad-bolt9
     54     , tasty
     55     , tasty-hunit
     56     , tasty-quickcheck
     57 
     58 benchmark bolt1-bench
     59   type:                exitcode-stdio-1.0
     60   default-language:    Haskell2010
     61   hs-source-dirs:      bench
     62   main-is:             Main.hs
     63   other-modules:       Fixtures
     64 
     65   ghc-options:
     66     -rtsopts -O2 -Wall -fno-warn-orphans
     67 
     68   build-depends:
     69       base
     70     , bytestring
     71     , criterion
     72     , ppad-bolt1
     73     , ppad-bolt9
     74 
     75 benchmark bolt1-weigh
     76   type:                exitcode-stdio-1.0
     77   default-language:    Haskell2010
     78   hs-source-dirs:      bench
     79   main-is:             Weight.hs
     80   other-modules:       Fixtures
     81 
     82   ghc-options:
     83     -rtsopts -O2 -Wall -fno-warn-orphans
     84 
     85   build-depends:
     86       base
     87     , bytestring
     88     , ppad-bolt1
     89     , ppad-bolt9
     90     , weigh