lnd.xprv/zpay32
Olaoluwa Osuntokun bd0cf51581
zpay32: create new package for encoding/decoding payment requests
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,
2017-01-02 15:17:58 -08:00
..
zbase32check_test.go zpay32: create new package for encoding/decoding payment requests 2017-01-02 15:17:58 -08:00
zbase32check.go zpay32: create new package for encoding/decoding payment requests 2017-01-02 15:17:58 -08:00