Skip to content

Expose reply_path from Responder in onion messenger #3906

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

a-mpch
Copy link
Contributor

@a-mpch a-mpch commented Jul 2, 2025

Context

When using responder from OnionMessenger and using an external process to interact with the messages (our case in LNDK, using LND) we need to try to connect to the introduction node before responding to the message itself.

What it is implemented

Just exposing the reply path from the responder. I went through just cloning the BlindedPath so it is a bit safer than just passing as an argument to the user of this API.

Add public `reply_path()` method to allow external process or
implementation to access the introduction node information before
responding the onion message.
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Jul 2, 2025

👋 Thanks for assigning @valentinewallace as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@ldk-reviews-bot ldk-reviews-bot requested a review from wpaulino July 2, 2025 17:53
@wpaulino wpaulino requested review from valentinewallace and removed request for wpaulino July 3, 2025 02:10
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