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


      1 cabal-version:      3.0
      2 name:               ppad-bolt7
      3 version:            0.1.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, 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   other-modules:
     29       Lightning.Protocol.BOLT7.Codec
     30       Lightning.Protocol.BOLT7.CRC32C
     31       Lightning.Protocol.BOLT7.Hash
     32       Lightning.Protocol.BOLT7.Messages
     33       Lightning.Protocol.BOLT7.Types
     34       Lightning.Protocol.BOLT7.Validate
     35   build-depends:
     36       base >= 4.9 && < 5
     37     , bytestring >= 0.9 && < 0.13
     38     , deepseq >= 1.4 && < 1.6
     39     , ppad-bolt1 >= 0.1 && < 0.2
     40     , ppad-bolt9 >= 0.1 && < 0.2
     41     , ppad-secp256k1 >= 0.5.9 && < 0.6
     42     , ppad-sha256 >= 0.3.2 && < 0.4
     43 
     44 test-suite bolt7-tests
     45   type:                exitcode-stdio-1.0
     46   default-language:    Haskell2010
     47   hs-source-dirs:      test
     48   main-is:             Main.hs
     49   other-modules:
     50       Vectors
     51 
     52   ghc-options:
     53     -rtsopts -Wall
     54 
     55   build-depends:
     56       base
     57     , bytestring
     58     , ppad-base16
     59     , ppad-bolt1
     60     , ppad-bolt7
     61     , ppad-bolt9
     62     , ppad-secp256k1
     63     , ppad-sha256
     64     , tasty
     65     , tasty-hunit
     66     , tasty-quickcheck
     67 
     68 benchmark bolt7-bench
     69   type:                exitcode-stdio-1.0
     70   default-language:    Haskell2010
     71   hs-source-dirs:      bench
     72   main-is:             Main.hs
     73   other-modules:
     74       Fixtures
     75 
     76   ghc-options:
     77     -rtsopts -O2 -Wall
     78 
     79   build-depends:
     80       base
     81     , bytestring
     82     , criterion
     83     , ppad-base16
     84     , ppad-bolt1
     85     , ppad-bolt7
     86 
     87 benchmark bolt7-weigh
     88   type:                exitcode-stdio-1.0
     89   default-language:    Haskell2010
     90   hs-source-dirs:      bench
     91   main-is:             Weight.hs
     92   other-modules:
     93       Fixtures
     94 
     95   ghc-options:
     96     -rtsopts -O2 -Wall
     97 
     98   build-depends:
     99       base
    100     , bytestring
    101     , ppad-base16
    102     , ppad-bolt1
    103     , ppad-bolt7
    104     , weigh