Repository navigation
[LN-869] Add a Prober to ldk-node - #2
Merged
amackillop merged 3 commits intoSep 23, 2024
Merged
Conversation
amackillop
force-pushed
the
amackillop/2024-09-17/add_send_probe
branch
3 times, most recently
from
September 17, 2024 20:42
e90ad42 to
6f394b3
Compare
This adds a Prober to the Node to be able to just probe the network to gather information that is separate from the payment process.
amackillop
force-pushed
the
amackillop/2024-09-17/add_send_probe
branch
from
September 18, 2024 14:13
6f394b3 to
dea4afe
Compare
amackillop
marked this pull request as ready for review
September 18, 2024 14:22
domZippilli
approved these changes
Sep 18, 2024
twood22
approved these changes
Sep 18, 2024
amackillop
force-pushed
the
amackillop/2024-09-17/add_send_probe
branch
from
September 23, 2024 15:56
fc49464 to
40f6f9e
Compare
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 free
to 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.
This PR adds a Prober to the Node struct in order to probe the network separate from the payment process. The Probing logic itself is mostly based on @johncantrell97's work here. I still need to fix the
uniffistuff to handle the new events but this commit has the important bits for our own Prober.Also, I could not get the
pathfield from the new Probing events to work with the writeable_tlv macro. If someone is familiar with how this works I could use a hand here. This would allow us to move the event handling to our own Probing node which I think is more appropriate but this works for now.