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


      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.Message
     30       Lightning.Protocol.BOLT1.Prim
     31       Lightning.Protocol.BOLT1.TLV
     32   build-depends:
     33       base >= 4.9 && < 5
     34     , bytestring >= 0.9 && < 0.13
     35     , deepseq >= 1.4 && < 1.6
     36 
     37 test-suite bolt1-tests
     38   type:                exitcode-stdio-1.0
     39   default-language:    Haskell2010
     40   hs-source-dirs:      test
     41   main-is:             Main.hs
     42 
     43   ghc-options:
     44     -rtsopts -Wall -O2
     45 
     46   build-depends:
     47       base
     48     , bytestring
     49     , ppad-base16
     50     , ppad-bolt1
     51     , tasty
     52     , tasty-hunit
     53     , tasty-quickcheck
     54 
     55 benchmark bolt1-bench
     56   type:                exitcode-stdio-1.0
     57   default-language:    Haskell2010
     58   hs-source-dirs:      bench
     59   main-is:             Main.hs
     60   other-modules:       Fixtures
     61 
     62   ghc-options:
     63     -rtsopts -O2 -Wall -fno-warn-orphans
     64 
     65   build-depends:
     66       base
     67     , bytestring
     68     , criterion
     69     , deepseq
     70     , ppad-bolt1
     71 
     72 benchmark bolt1-weigh
     73   type:                exitcode-stdio-1.0
     74   default-language:    Haskell2010
     75   hs-source-dirs:      bench
     76   main-is:             Weight.hs
     77   other-modules:       Fixtures
     78 
     79   ghc-options:
     80     -rtsopts -O2 -Wall -fno-warn-orphans
     81 
     82   build-depends:
     83       base
     84     , bytestring
     85     , deepseq
     86     , ppad-bolt1
     87     , weigh