bolt4

Onion routing protocol, per BOLT #4 (docs.ppad.tech/bolt4).
git clone git://git.ppad.tech/bolt4.git
Log | Files | Refs | README | LICENSE

ppad-bolt4.cabal (2147B)


      1 cabal-version:      3.0
      2 name:               ppad-bolt4
      3 version:            0.0.1
      4 synopsis:           BOLT4 (onion routing) for Lightning Network
      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   A pure Haskell implementation of BOLT4 (onion routing) from
     15   the Lightning Network protocol specification.
     16 
     17 source-repository head
     18   type:     git
     19   location: git.ppad.tech/bolt4.git
     20 
     21 library
     22   default-language: Haskell2010
     23   hs-source-dirs:   lib
     24   ghc-options:
     25     -Wall
     26   exposed-modules:
     27     Lightning.Protocol.BOLT4
     28     Lightning.Protocol.BOLT4.Blinding
     29     Lightning.Protocol.BOLT4.Codec
     30     Lightning.Protocol.BOLT4.Construct
     31     Lightning.Protocol.BOLT4.Error
     32     Lightning.Protocol.BOLT4.Prim
     33     Lightning.Protocol.BOLT4.Process
     34     Lightning.Protocol.BOLT4.Types
     35   build-depends:
     36       base >= 4.9 && < 5
     37     , bytestring >= 0.9 && < 0.13
     38     , ppad-aead >= 0.3 && < 0.4
     39     , ppad-chacha >= 0.2 && < 0.3
     40     , ppad-fixed >= 0.1 && < 0.2
     41     , ppad-secp256k1 >= 0.5 && < 0.6
     42     , ppad-sha256 >= 0.3 && < 0.4
     43 
     44 test-suite bolt4-tests
     45   type:             exitcode-stdio-1.0
     46   default-language: Haskell2010
     47   hs-source-dirs:   test
     48   main-is:          Main.hs
     49   ghc-options:
     50       -rtsopts -Wall -O2
     51   build-depends:
     52       base
     53     , bytestring
     54     , ppad-base16
     55     , ppad-bolt4
     56     , ppad-secp256k1
     57     , tasty
     58     , tasty-hunit
     59     , tasty-quickcheck
     60 
     61 benchmark bolt4-bench
     62   type:             exitcode-stdio-1.0
     63   default-language: Haskell2010
     64   hs-source-dirs:   bench
     65   main-is:          Main.hs
     66   ghc-options:
     67       -rtsopts -O2 -Wall -fno-warn-orphans
     68   build-depends:
     69       base
     70     , bytestring
     71     , criterion
     72     , deepseq
     73     , ppad-bolt4
     74 
     75 benchmark bolt4-weigh
     76   type:             exitcode-stdio-1.0
     77   default-language: Haskell2010
     78   hs-source-dirs:   bench
     79   main-is:          Weight.hs
     80   ghc-options:
     81       -rtsopts -O2 -Wall -fno-warn-orphans
     82   build-depends:
     83       base
     84     , bytestring
     85     , ppad-bolt4
     86     , weigh