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
TheBlueMatt
left a comment
There was a problem hiding this comment.
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.