bolt8

Encrypted and authenticated transport, per BOLT #8 (docs.ppad.tech/bolt8).
git clone git://git.ppad.tech/bolt8.git
Log | Files | Refs | README | LICENSE

ppad-bolt8.cabal (1932B)


      1 cabal-version:      3.0
      2 name:               ppad-bolt8
      3 version:            0.0.1
      4 synopsis:           Encrypted and authenticated transport per BOLT #8
      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   Encrypted and authenticated transport, per
     15   [BOLT #8](https://github.com/lightning/bolts/blob/master/08-transport.md).
     16 
     17 source-repository head
     18   type:     git
     19   location: git.ppad.tech/bolt8.git
     20 
     21 library
     22   default-language: Haskell2010
     23   hs-source-dirs:   lib
     24   ghc-options:
     25       -Wall
     26   exposed-modules:
     27       Lightning.Protocol.BOLT8
     28   build-depends:
     29       base >= 4.9 && < 5
     30     , bytestring >= 0.9 && < 0.13
     31     , ppad-aead >= 0.3 && < 0.4
     32     , ppad-hkdf >= 0.3.2 && < 0.4
     33     , ppad-secp256k1 >= 0.5.3 && < 0.6
     34     , ppad-sha256 >= 0.3 && < 0.4
     35 
     36 test-suite bolt8-tests
     37   type:                exitcode-stdio-1.0
     38   default-language:    Haskell2010
     39   hs-source-dirs:      test
     40   main-is:             Main.hs
     41 
     42   ghc-options:
     43     -rtsopts -Wall -O2
     44 
     45   build-depends:
     46       base
     47     , bytestring
     48     , ppad-base16
     49     , ppad-bolt8
     50     , QuickCheck
     51     , tasty
     52     , tasty-hunit
     53     , tasty-quickcheck
     54 
     55 benchmark bolt8-bench
     56   type:                exitcode-stdio-1.0
     57   default-language:    Haskell2010
     58   hs-source-dirs:      bench
     59   main-is:             Main.hs
     60 
     61   ghc-options:
     62     -rtsopts -O2 -Wall -fno-warn-orphans
     63 
     64   build-depends:
     65       base
     66     , bytestring
     67     , criterion
     68     , deepseq
     69     , ppad-bolt8
     70 
     71 benchmark bolt8-weigh
     72   type:                exitcode-stdio-1.0
     73   default-language:    Haskell2010
     74   hs-source-dirs:      bench
     75   main-is:             Weight.hs
     76 
     77   ghc-options:
     78     -rtsopts -O2 -Wall -fno-warn-orphans
     79 
     80   build-depends:
     81       base
     82     , bytestring
     83     , deepseq
     84     , ppad-bolt8
     85     , weigh
     86