Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capacity indications on HTLC failures #695

Open
wants to merge 1 commit into
base: master
from

Conversation

@rustyrussell
Copy link
Collaborator

rustyrussell commented Nov 5, 2019

With AMP, we'll effectively be probing for channel
capacity. Returning how far out a payment was provides
a hint.

You can determine the order required, then fuzz it a
little, eg:

switch(rand(8)):
case 0: increase, retry;
case 1: decrease, retry;
case 2-8: stop;

Signed-off-by: Rusty Russell rusty@rustcorp.com.au

With AMP, we'll effectively be probing for channel
capacity.  Returning how far out a payment was provides
a hint.

You can determine the order required, then fuzz it a
little, eg:

    switch(rand(8)):
    case 0: increase, retry;
    case 1: decrease, retry;
    case 2-8: stop;

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
1 participant
You can’t perform that action at this time.