Skip to content

Add high AMP to multi-hop-locks writeup#15

Merged
jonasnick merged 1 commit intoBlockstreamResearch:masterfrom
jonasnick:high-amp
Dec 3, 2019
Merged

Add high AMP to multi-hop-locks writeup#15
jonasnick merged 1 commit intoBlockstreamResearch:masterfrom
jonasnick:high-amp

Conversation

@jonasnick
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread md/multi-hop-locks.md Outdated
The difference is that in the multi-hop-locks world we can keep the proof of payment.
This is referred to as [*high AMP*](https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-November/001494.html).

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 = q0 + ... qn`.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's q0 here? Shouldn't this be q = q1 + ... + qn?
(I haven't done the math yet but this index surprised me)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops fixed

@jonasnick
Copy link
Copy Markdown
Collaborator Author

rebased

@jonasnick jonasnick merged commit 0fb4185 into BlockstreamResearch:master Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants