routing+invoices: implement AMP secret sharing and combination #3939
Labels
advanced
Issues suitable for very experienced developers
amp
crypto
Related to the cryptography underlying LND
enhancement
Improvements to existing features / behaviour
onion routing
P1
MUST be fixed or reviewed
payments
Related to invoices/payments
routing nodes
routing
Milestone
This issue is related to lightning/bolts#658. Completion of this issue entails creating a new
secretshare
package (naming suggestion) withinlnd
that's able to:Once the above is done (the libraries at the edges), we'll also need to then integrate this new combination logic into the invoice registry. Along the way we'll likely opt to create some sort of new HTLC combination+settling (deciding when it's possible to combine and also how to derive the pre-images) within the invoice registry.
I've left out most of the details w.r.t the additive secret sharing scheme as those are elaborated upon in detail within the linked issue. One other thing I've left out of this is the implication on the RPC interface, for calls such as
ListPayments
andListInvoices
.The text was updated successfully, but these errors were encountered: