Proposal for Stuckless Payment



Summary:

In a recent post, Hiroki Gondo explained how Stuckless Payments can be achieved using HTLC variants that are not compatible with BOLT 1.x HTLCs. The BOLT #3 offered and received HTLC policies were modified by changing `hash160(H)` to `and(hash160(H), hash160(H))`. These changes mean that Stuckless Payments can be implemented without waiting for PTLCs, as previously thought. In a separate discussion, there was concern that intermediate nodes could guess the payer's identity with the added communication round. A solution proposed involved creating an ACK onion packet that is embedded inside the last hop payload of the add_htlc onion packet. This way, D doesn't learn anything about A, and intermediate nodes aren't included in the ACK route so they don't learn anything either. Hiroki plans to consider combining this proposal with AMP and new routing algorithms (Trampoline, Rendezvous) while considering the limitations of the onion packet including new specs under development.


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