Skip to content

Async Send Simple Hold #3957

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

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

Conversation

joostjager
Copy link
Contributor

Simplified variant for sending of async payments that doesn't use trampoline. The sender LSP receives an HTLC from the sender indicating that the HTLC should be held. Sender LSP then sends out HeldHtlcAvailable to the receiver LSP. Receiver LSP replies with ReleaseHeldHtlc. Upon receiving this onion message, sender LSP release the held htlc and lets it continue along the sender-determined path.

@ldk-reviews-bot
Copy link

👋 Hi! I see this is a draft PR.
I'll wait to assign reviewers until you mark it as ready for review.
Just convert it out of draft status when you're ready for review!

@joostjager joostjager mentioned this pull request Jul 18, 2025
44 tasks
Copy link

codecov bot commented Jul 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.93%. Comparing base (39e8d7d) to head (aa9e84b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3957      +/-   ##
==========================================
- Coverage   88.93%   88.93%   -0.01%     
==========================================
  Files         174      174              
  Lines      123876   123905      +29     
  Branches   123876   123905      +29     
==========================================
+ Hits       110173   110198      +25     
- Misses      11250    11253       +3     
- Partials     2453     2454       +1     
Flag Coverage Δ
fuzzing 22.19% <65.00%> (+0.01%) ⬆️
tests 88.76% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants