L2-Technology / sensei

A lightning node implementation for everyone
https://l2.technology/sensei
Other
199 stars 39 forks source link

Phantom Payments #139

Closed johncantrell97 closed 1 year ago

johncantrell97 commented 1 year ago

This PR enables the ability to use phantom payments with sensei nodes. Every node created will generate its own cross_node_entropy. You will then need to share cross_node_entropy with each node you want to use as part of your cluster. Each node can generate regular invoices that can use MPP and phantom invoices (where MPP is disabled). Phantom invoices can be received by any node that shares the cross_node_entropy with the node you created the invoice on.