bolt7

Routing gossip protocol, per BOLT #7 (docs.ppad.tech/bolt7).
git clone git://git.ppad.tech/bolt7.git
Log | Files | Refs | README | LICENSE

ppad-bolt7.cabal (2175B)


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