mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
b0d3e4dc0d
We've covered all the logic for building a blinded path to ourselves and putting that into an invoice - so now we start preparing to actually be able to recognise the incoming payment as one from a blinded path we created. The incoming update_add_htlc will have an `encrypted_recipient_data` blob for us that we would have put in the original invoice. From this we extract the PathID which we wrote. We consider this the payment address and we use this to derive the associated invoice location. Blinded path payments will not include MPP records, so the payment address and total payment amount must be gleaned from the pathID and new totalAmtMsat onion field respectively. This commit only covers the final hop payload of a hop in a blinded path. Dummy hops will be handled in the following commit. |
||
---|---|---|
.. | ||
errors.go | ||
interface.go | ||
invoice_expiry_watcher_test.go | ||
invoice_expiry_watcher.go | ||
invoiceregistry_test.go | ||
invoiceregistry.go | ||
invoices_test.go | ||
invoices.go | ||
log.go | ||
mock.go | ||
resolution_result.go | ||
resolution.go | ||
setup_test.go | ||
sql_store.go | ||
test_utils_test.go | ||
test_utils.go | ||
update_invoice_test.go | ||
update_invoice.go | ||
update.go |