-
Notifications
You must be signed in to change notification settings - Fork 421
Add UserConfig::reject_inbound_splices #4150
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
Add UserConfig::reject_inbound_splices #4150
Conversation
👋 Thanks for assigning @TheBlueMatt as a reviewer! |
Codecov Report❌ Patch coverage is
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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
669217b
to
65289e6
Compare
👋 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. |
65289e6
to
b618324
Compare
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.
b618324
to
8d31a9b
Compare
There was a problem hiding this 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
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.