You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: md/multi-hop-locks.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -97,12 +97,13 @@ However, recurring payments from a single sender [can be done using hash chains]
97
97
Atomic Multipath Payments (AMP)
98
98
---
99
99
100
-
With scriptless script multi-hop locks it is possible to do AMP in a way similar to [*base AMP*](https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-November/001577.html) while allowing payment decorrelation between the paths.
100
+
With scriptless script multi-hop locks it is possible to make multi-path payments similar to [*base MPP*](https://github.com/lightningnetwork/lightning-rfc/pull/643) while allowing payment decorrelation between the paths.
101
101
The sender sets up multiple routes to the recipient using uncorrelated locks such that any partial payment claimed by the recipient reveals the proof of payment (`z`) to the sender.
102
102
Because the recipient doesn't want to give up the PoP for just a partial payment, she waits until all routes to her are fully established and claims all the partial payments at once.
103
103
104
-
It's also possible to set up multiple paths such that the recipient's secret (`z`) is only revealed once all paths are established, similar to [*base AMP*](https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-February/000993.html) (also known as *low AMP*).
105
-
The difference is that in the multi-hop-locks world we can keep the proof of payment.
104
+
In the original [original base AMP proposal](https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-February/000993.html) proposal *atomicity* is achieved not only by incentive, but also by setting up the the paths such that the recipient's secret (`z`) is only revealed once all paths are established.
105
+
However, in this proposal the payer is not able to obtain a proof of payment.
106
+
With multi-hop locks we can both have the atomicity of original base AMP and the proof of payment.
106
107
This is referred to as [*high AMP*](https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-November/001494.html).
107
108
108
109
In high AMP the sender first draws a random number `q` and determines random `q1, ... qn` where `n` is the number of paths such that `q = q1 + ... qn`.
0 commit comments