Skip to content

Conversation

@TheBlueMatt
Copy link
Collaborator

Every time we use re-exports to hide a module in the public API we end up accidentally breaking the public API due to accidental seals. We did this yet again in
e9c6bbc where we moved to using a CustomTlvs field in the public API for RecipientOnionFields but forgot to re-export it, making it impossible to use downstream.

Instead, here, we just actually export outbound_payments.

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Feb 2, 2026

👋 I see @wpaulino was un-assigned.
If you'd like another reviewer assignment, please click here.

@TheBlueMatt TheBlueMatt marked this pull request as draft February 2, 2026 13:58
Every time we use re-exports to hide a module in the public API we
end up accidentally breaking the public API due to accidental
seals. We did this yet again in
e9c6bbc where we moved to using a
`CustomTlvs` field in the public API for `RecipientOnionFields` but
forgot to re-export it, making it impossible to use downstream.

Instead, here, we just actually export `outbound_payments`.

Compilation fixes by Claude.
@TheBlueMatt TheBlueMatt force-pushed the 2026-02-no-re-exports branch from 1d17b00 to 0bc5c95 Compare February 2, 2026 14:26
@TheBlueMatt TheBlueMatt marked this pull request as ready for review February 2, 2026 14:26
TheBlueMatt added a commit to TheBlueMatt/ldk-node that referenced this pull request Feb 2, 2026
lightningdevkit/rust-lightning#4263 and
lightningdevkit/rust-lightning#4370 changed
the `lightning` API, which we update to here.

We also switch to using a `Cargo.toml` `[patch...]` to avoid having
to update the `bitcoin-payment-instructions` dep after each bump.
@valentinewallace valentinewallace removed the request for review from wpaulino February 2, 2026 16:45
@codecov
Copy link

codecov bot commented Feb 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.00%. Comparing base (8679d8d) to head (0bc5c95).
⚠️ Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4370      +/-   ##
==========================================
+ Coverage   85.98%   86.00%   +0.02%     
==========================================
  Files         156      156              
  Lines      102641   102641              
  Branches   102641   102641              
==========================================
+ Hits        88258    88279      +21     
+ Misses      11873    11855      -18     
+ Partials     2510     2507       -3     
Flag Coverage Δ
tests 86.00% <ø> (+0.02%) ⬆️

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.

@tnull tnull merged commit 35ab03f into lightningdevkit:main Feb 3, 2026
20 of 21 checks passed
tnull added a commit to tnull/ldk-node that referenced this pull request Feb 3, 2026
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.

4 participants