Proposal for Stuckless Payment



Summary:

The discussion on the Lightning-dev mailing list revolves around a proposal to add an additional round of communication to avoid wormhole attacks and thus decorrelate payments. While this would increase latency, it would provide a way to "cancel" stuck payments and retry them. The option to make multiple tries in parallel is also discussed as a way to help with latency, if there is enough outbound capacity. The issue of payer anonymity is raised, with a suggestion that the ACK message can be constructed by A and sent via a different route than the *add_htlc* onion packet. This solution would maintain payer anonymity, even if intermediate nodes do not have an incentive to forward ACK messages. The added communication round may allow intermediate nodes to guess the payer's identity, but this information may not be significant enough to pose a problem in practice. Additionally, the use of ACK-key turnaround increases latency further, but stuckless payments could reduce overall latency by making multiple tries in parallel. Finally, the proposal may also solve the "American Call Option" problem where intermediate nodes are unaware that a cross-currency exchange is involved.


Updated on: 2023-06-02T18:57:18.647423+00:00