Skip to content

Conversation

wpaulino
Copy link
Contributor

@wpaulino wpaulino commented Oct 9, 2025

This option allows nodes to reject inbound channel splice requests to ensure backwards compatibility is not broken with LDK versions < 0.2 while a splice is pending. Outbound channel splice requests (via ChannelManager::splice_channel, an opt-in API) are still allowed as users should be aware of the backwards compatibility risk prior to using the functionality.

Fixes #4051.

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Oct 9, 2025

👋 Thanks for assigning @TheBlueMatt 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.

@wpaulino wpaulino requested a review from TheBlueMatt October 9, 2025 15:53
@wpaulino wpaulino added this to the 0.2 milestone Oct 9, 2025
@wpaulino wpaulino self-assigned this Oct 9, 2025
Copy link

codecov bot commented Oct 9, 2025

Codecov Report

❌ Patch coverage is 94.54545% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.71%. Comparing base (3ce8204) to head (8d31a9b).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
lightning/src/ln/splicing_tests.rs 95.45% 1 Missing and 1 partial ⚠️
lightning/src/util/config.rs 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4150      +/-   ##
==========================================
- Coverage   88.72%   88.71%   -0.01%     
==========================================
  Files         180      180              
  Lines      135528   135622      +94     
  Branches   135528   135622      +94     
==========================================
+ Hits       120241   120322      +81     
- Misses      12517    12532      +15     
+ Partials     2770     2768       -2     
Flag Coverage Δ
fuzzing 21.71% <27.27%> (-0.01%) ⬇️
tests 88.56% <96.29%> (-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.

@wpaulino wpaulino force-pushed the user-config-reject-inbound-splice branch from 669217b to 65289e6 Compare October 9, 2025 17:28
@ldk-reviews-bot
Copy link

👋 The first review has been submitted!

Do you think this PR is ready for a second reviewer? If so, click here to assign a second reviewer.

@wpaulino wpaulino force-pushed the user-config-reject-inbound-splice branch from 65289e6 to b618324 Compare October 9, 2025 18:35
This option allows nodes to reject inbound channel splice requests to
ensure backwards compatibility is not broken with LDK versions < 0.2
while a splice is pending. Outbound channel splice requests (via
`ChannelManager::splice_channel`, an opt-in API) are still allowed as
users should be aware of the backwards compatibility risk prior to using
the functionality.
@wpaulino wpaulino force-pushed the user-config-reject-inbound-splice branch from b618324 to 8d31a9b Compare October 9, 2025 18:51
Copy link
Collaborator

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and trivial, landing

@TheBlueMatt TheBlueMatt merged commit eeb5b14 into lightningdevkit:main Oct 9, 2025
22 checks passed
@wpaulino wpaulino deleted the user-config-reject-inbound-splice branch October 9, 2025 19:15
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.

DIsable-splice config flag

3 participants