bolt2

Lightning peer protocol, per BOLT #2 (docs.ppad.tech/bolt2).
git clone git://git.ppad.tech/bolt2.git
Log | Files | Refs | README | LICENSE

ppad-bolt2.cabal (1991B)


      1 cabal-version:      3.0
      2 name:               ppad-bolt2
      3 version:            0.0.1
      4 synopsis:           Peer protocol per BOLT #2
      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   Peer protocol, per
     15   [BOLT #2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md).
     16 
     17 source-repository head
     18   type:     git
     19   location: git.ppad.tech/bolt2.git
     20 
     21 library
     22   default-language: Haskell2010
     23   hs-source-dirs:   lib
     24   ghc-options:
     25       -Wall
     26   exposed-modules:
     27       Lightning.Protocol.BOLT2
     28       Lightning.Protocol.BOLT2.Codec
     29       Lightning.Protocol.BOLT2.Messages
     30       Lightning.Protocol.BOLT2.Types
     31   build-depends:
     32       base >= 4.9 && < 5
     33     , bytestring >= 0.9 && < 0.13
     34     , deepseq >= 1.4 && < 1.6
     35     , ppad-bolt1 >= 0.0.1 && < 0.1
     36     , ppad-tx >= 0.1 && < 0.2
     37 
     38 test-suite bolt2-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     , ppad-bolt2
     53     , tasty
     54     , tasty-hunit
     55     , tasty-quickcheck
     56 
     57 benchmark bolt2-bench
     58   type:                exitcode-stdio-1.0
     59   default-language:    Haskell2010
     60   hs-source-dirs:      bench
     61   main-is:             Main.hs
     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     , ppad-bolt2
     73 
     74 benchmark bolt2-weigh
     75   type:                exitcode-stdio-1.0
     76   default-language:    Haskell2010
     77   hs-source-dirs:      bench
     78   main-is:             Weight.hs
     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     , ppad-bolt2
     89     , weigh