Uh oh!
There was an error while loading. Please reload this page.
Add pre-flight probing capabilities - #147
Merged
Merged
Conversation
tnullforce-pushed
the
2023-08-pre-flight-probing
branch
from
August 3, 2023 12:59
996b623 to
87265a8Comparetnullforce-pushed
the
2023-08-pre-flight-probing
branch
from
August 8, 2023 12:02
87265a8 to
92e2003Comparejkczyz
reviewed
Aug 8, 2023
| })?; | ||
| for path in route.paths { | ||
| if path.hops.len() < 2 && path.blinded_tail.is_none() { |
Contributor
There was a problem hiding this comment.
Should we count the number of hops in the blinded tail, too?
CollaboratorAuthor
There was a problem hiding this comment.
Mh, good point. Tbh., I copied that check from https://github.com/lightningdevkit/rust-lightning/blob/7e3de7044896dbc4d2838f87870c7c58f2c7c756/lightning/src/ln/outbound_payment.rs#L907 to avoid the APIMisuseError here. I guess this could be change there, too? (cc @valentinewallace, if you happen to touch that sometime)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
tnullforce-pushed
the
2023-08-pre-flight-probing
branch
from
August 9, 2023 08:00
92e2003 to
ec422e0CompareWe add the capability to send a payment probe given an invoice.
We add the capability to send a payment probe given an amount and a payee node id.
tnullforce-pushed
the
2023-08-pre-flight-probing
branch
from
August 9, 2023 17:41
ec422e0 to
07364b8Comparetnull
commented
Aug 9, 2023
CollaboratorAuthor
Squashed fixups without further changes. |
jkczyz
approved these changes
Aug 9, 2023
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes#19.
Users might want to send pre-flight probes to train our scorer before sending the actutal payment.
Here, we add the capability to send payment probes either given an invoice or given an amount and the payee
node_id.