Skip to content

Commit 0f55694

Browse files
committed
multi-hop-locks: update what is now understood as base AMP
1 parent 1414cfd commit 0f55694

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

md/multi-hop-locks.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,13 @@ However, recurring payments from a single sender [can be done using hash chains]
9797
Atomic Multipath Payments (AMP)
9898
---
9999

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.
101101
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.
102102
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.
103103

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.
106107
This is referred to as [*high AMP*](https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-November/001494.html).
107108

108109
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`.
@@ -172,4 +173,4 @@ Resources
172173
* [Post-Schnorr Lightning Txs](https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-February/001038.html)
173174
* [Bolt11 in the world of Scriptless Scripts](https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-November/001496.html)
174175
* [Base AMP](https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-November/001577.html)
175-
* [Stuckless Payments](https://lists.linuxfoundation.org/pipermail/lightning-dev/2019-June/002029.html)
176+
* [Stuckless Payments](https://lists.linuxfoundation.org/pipermail/lightning-dev/2019-June/002029.html)

0 commit comments

Comments
 (0)