bolt4

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

commit 096f69466d61985c656185a6f540a11bb9c6ec30
parent 1f7d84f4153a090952a118932b726644cd7db574
Author: Jared Tobin <jared@jtobin.io>
Date:   Sat, 18 Apr 2026 11:31:05 +0800

meta: fix remote

Diffstat:
Mppad-bolt4.cabal | 126++++++++++++++++++++++++++++++++++++++++----------------------------------------
1 file changed, 63 insertions(+), 63 deletions(-)

diff --git a/ppad-bolt4.cabal b/ppad-bolt4.cabal @@ -10,76 +10,76 @@ category: Cryptography build-type: Simple tested-with: GHC == 9.10.3 description: - A pure Haskell implementation of BOLT4 (onion routing) from - the Lightning Network protocol specification. + A pure Haskell implementation of BOLT4 (onion routing) from + the Lightning Network protocol specification. source-repository head - type: git - location: git://git.ppad.tech/bolt4.git + type: git + location: git.ppad.tech/bolt4.git library - default-language: Haskell2010 - hs-source-dirs: lib - ghc-options: - -Wall - exposed-modules: - Lightning.Protocol.BOLT4 - Lightning.Protocol.BOLT4.Blinding - Lightning.Protocol.BOLT4.Codec - Lightning.Protocol.BOLT4.Construct - Lightning.Protocol.BOLT4.Error - Lightning.Protocol.BOLT4.Prim - Lightning.Protocol.BOLT4.Process - Lightning.Protocol.BOLT4.Types - build-depends: - base >= 4.9 && < 5 - , bytestring >= 0.9 && < 0.13 - , ppad-aead >= 0.3 && < 0.4 - , ppad-chacha >= 0.2 && < 0.3 - , ppad-fixed >= 0.1 && < 0.2 - , ppad-secp256k1 >= 0.5 && < 0.6 - , ppad-sha256 >= 0.3 && < 0.4 + default-language: Haskell2010 + hs-source-dirs: lib + ghc-options: + -Wall + exposed-modules: + Lightning.Protocol.BOLT4 + Lightning.Protocol.BOLT4.Blinding + Lightning.Protocol.BOLT4.Codec + Lightning.Protocol.BOLT4.Construct + Lightning.Protocol.BOLT4.Error + Lightning.Protocol.BOLT4.Prim + Lightning.Protocol.BOLT4.Process + Lightning.Protocol.BOLT4.Types + build-depends: + base >= 4.9 && < 5 + , bytestring >= 0.9 && < 0.13 + , ppad-aead >= 0.3 && < 0.4 + , ppad-chacha >= 0.2 && < 0.3 + , ppad-fixed >= 0.1 && < 0.2 + , ppad-secp256k1 >= 0.5 && < 0.6 + , ppad-sha256 >= 0.3 && < 0.4 test-suite bolt4-tests - type: exitcode-stdio-1.0 - default-language: Haskell2010 - hs-source-dirs: test - main-is: Main.hs - ghc-options: - -rtsopts -Wall -O2 - build-depends: - base - , bytestring - , ppad-base16 - , ppad-bolt4 - , ppad-secp256k1 - , tasty - , tasty-hunit - , tasty-quickcheck + type: exitcode-stdio-1.0 + default-language: Haskell2010 + hs-source-dirs: test + main-is: Main.hs + ghc-options: + -rtsopts -Wall -O2 + build-depends: + base + , bytestring + , ppad-base16 + , ppad-bolt4 + , ppad-secp256k1 + , tasty + , tasty-hunit + , tasty-quickcheck benchmark bolt4-bench - type: exitcode-stdio-1.0 - default-language: Haskell2010 - hs-source-dirs: bench - main-is: Main.hs - ghc-options: - -rtsopts -O2 -Wall -fno-warn-orphans - build-depends: - base - , bytestring - , criterion - , deepseq - , ppad-bolt4 + type: exitcode-stdio-1.0 + default-language: Haskell2010 + hs-source-dirs: bench + main-is: Main.hs + ghc-options: + -rtsopts -O2 -Wall -fno-warn-orphans + build-depends: + base + , bytestring + , criterion + , deepseq + , ppad-bolt4 benchmark bolt4-weigh - type: exitcode-stdio-1.0 - default-language: Haskell2010 - hs-source-dirs: bench - main-is: Weight.hs - ghc-options: - -rtsopts -O2 -Wall -fno-warn-orphans - build-depends: - base - , bytestring - , ppad-bolt4 - , weigh + type: exitcode-stdio-1.0 + default-language: Haskell2010 + hs-source-dirs: bench + main-is: Weight.hs + ghc-options: + -rtsopts -O2 -Wall -fno-warn-orphans + build-depends: + base + , bytestring + , ppad-bolt4 + , weigh