Skip to content

[LN-869] Add a Prober to ldk-node - #2

Merged
amackillop merged 3 commits into
amackillop/probingfrom
amackillop/2024-09-17/add_send_probe
Sep 23, 2024
Merged

amackillop merged 3 commits into
amackillop/probingfrom
amackillop/2024-09-17/add_send_probe

Conversation

@amackillop

@amackillop amackillop commented Sep 17, 2024 •

Copy link
Copy Markdown

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 uniffi stuff to handle the new events but this commit has the important bits for our own Prober.

Also, I could not get the path field 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.

@amackillop
amackillop force-pushed the amackillop/2024-09-17/add_send_probe branch 3 times, most recently from e90ad42 to 6f394b3 Compare September 17, 2024 20:42
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
amackillop force-pushed the amackillop/2024-09-17/add_send_probe branch from 6f394b3 to dea4afe Compare September 18, 2024 14:13
@amackillop
amackillop marked this pull request as ready for review September 18, 2024 14:22
@amackillop
amackillop requested review from a team and twood22 September 18, 2024 14:22
@amackillop amackillop changed the title Add a Prober to ldk-node [LN-869] Add a Prober to ldk-node Sep 18, 2024
@amackillop
amackillop force-pushed the amackillop/2024-09-17/add_send_probe branch from fc49464 to 40f6f9e Compare September 23, 2024 15:56
@amackillop
amackillop merged commit f967e84 into amackillop/probing Sep 23, 2024
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.

3 participants