mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
bd0cf51581
This commit adds a new package “zpay32”: which is used within the daemon to encode/decode payment requests. A payment request currently consists of: the public key of the payee, the payment hash to use, and finally the amount to send over the network. The encoded payment request consists of the mentioned fields concatenated to each other, a cc32 checksum is added, then the blob is finally encoded using zbas32. I call the resulting scheme “zpay32”. A number of extensions may be explored in future commits including adding a version byte, adding “hint” routing information, cryptographically signed receipts and more,
64 lines
1.4 KiB
YAML
64 lines
1.4 KiB
YAML
package: github.com/lightningnetwork/lnd
|
|
import:
|
|
- package: github.com/boltdb/bolt
|
|
version: ^1.2.1
|
|
- package: github.com/btcsuite/btclog
|
|
- package: github.com/btcsuite/fastsha256
|
|
- package: github.com/btcsuite/go-flags
|
|
- package: github.com/btcsuite/seelog
|
|
version: ^2.1.0
|
|
- package: github.com/codahale/chacha20poly1305
|
|
- package: github.com/davecgh/go-spew
|
|
subpackages:
|
|
- spew
|
|
- package: github.com/golang/protobuf
|
|
subpackages:
|
|
- proto
|
|
- package: github.com/howeyc/gopass
|
|
- package: github.com/roasbeef/btcd
|
|
subpackages:
|
|
- blockchain
|
|
- btcec
|
|
- btcjson
|
|
- chaincfg
|
|
- txscript
|
|
- wire
|
|
- package: github.com/roasbeef/btcrpcclient
|
|
version: master
|
|
- package: github.com/roasbeef/btcutil
|
|
subpackages:
|
|
- bloom
|
|
- coinset
|
|
- hdkeychain
|
|
- txsort
|
|
- package: github.com/roasbeef/btcwallet
|
|
version: master
|
|
subpackages:
|
|
- chain
|
|
- waddrmgr
|
|
- wallet
|
|
- walletdb/bdb
|
|
- package: github.com/urfave/cli
|
|
version: ^1.18.0
|
|
- package: golang.org/x/crypto
|
|
subpackages:
|
|
- hkdf
|
|
- nacl/secretbox
|
|
- ripemd160
|
|
- scrypt
|
|
- package: golang.org/x/net
|
|
subpackages:
|
|
- context
|
|
- package: google.golang.org/grpc
|
|
version: ^1.0.0
|
|
- package: github.com/lightningnetwork/lightning-onion
|
|
version: master
|
|
- package: github.com/grpc-ecosystem/grpc-gateway
|
|
version: ^1.1.0
|
|
- package: github.com/aead/chacha20
|
|
- package: github.com/go-errors/errors
|
|
- package: github.com/btcsuite/btcd
|
|
subpackages:
|
|
- connmgr
|
|
- package: github.com/tv42/zbase32
|