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


      1 cabal-version:      3.0
      2 name:               ppad-bolt1
      3 version:            0.0.1
      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       Lightning.Protocol.BOLT1.Codec
     29       Lightning.Protocol.BOLT1.Internal
     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 
     38 test-suite bolt1-tests
     39   type:                exitcode-stdio-1.0
     40   default-language:    Haskell2010
     41   hs-source-dirs:      test
     42   main-is:             Main.hs
     43 
     44   ghc-options:
     45     -rtsopts -Wall -O2
     46 
     47   build-depends:
     48       base
     49     , bytestring
     50     , ppad-base16
     51     , ppad-bolt1
     52     , tasty
     53     , tasty-hunit
     54     , tasty-quickcheck
     55 
     56 benchmark bolt1-bench
     57   type:                exitcode-stdio-1.0
     58   default-language:    Haskell2010
     59   hs-source-dirs:      bench
     60   main-is:             Main.hs
     61   other-modules:       Fixtures
     62 
     63   ghc-options:
     64     -rtsopts -O2 -Wall -fno-warn-orphans
     65 
     66   build-depends:
     67       base
     68     , bytestring
     69     , criterion
     70     , deepseq
     71     , ppad-bolt1
     72 
     73 benchmark bolt1-weigh
     74   type:                exitcode-stdio-1.0
     75   default-language:    Haskell2010
     76   hs-source-dirs:      bench
     77   main-is:             Weight.hs
     78   other-modules:       Fixtures
     79 
     80   ghc-options:
     81     -rtsopts -O2 -Wall -fno-warn-orphans
     82 
     83   build-depends:
     84       base
     85     , bytestring
     86     , deepseq
     87     , ppad-bolt1
     88     , weigh