rust-lightning/lightning/src
Jeffrey Czyz 1cad430e14
Offer metadata and signing pubkey derivation
Add support for deriving a transient signing pubkey for each Offer from
an ExpandedKey and a nonce. This facilitates recipient privacy by not
tying any Offer to any other nor to the recipient's node id.

Additionally, support stateless Offer verification by setting its
metadata using an HMAC over the nonce and the remaining TLV records,
which will be later verified when receiving an InvoiceRequest.
2023-04-19 21:06:37 -05:00
..
chain Merge pull request #2139 from TheBlueMatt/2023-03-metadata-prefactors 2023-04-07 16:14:30 +00:00
events Add reason to Event::PaymentFailed 2023-04-10 17:13:47 -05:00
ln Offer metadata and signing pubkey derivation 2023-04-19 21:06:37 -05:00
offers Offer metadata and signing pubkey derivation 2023-04-19 21:06:37 -05:00
onion_message Merge pull request #2083 from wpaulino/events-module 2023-03-28 16:37:55 +00:00
routing Merge pull request #2180 from benthecarman/impl-pk-to-node-id 2023-04-14 14:56:51 +00:00
sync Drop the dummy no-std Condvar which never sleeps 2023-04-03 16:49:54 +00:00
util Add another ExpandedKey derivation for Offers 2023-04-18 13:30:32 -05:00
lib.rs Move events.rs into its own top-level module 2023-03-22 11:49:33 -07:00