Skip to content

Commit 14db8fb

Browse files
committed
Clarify splicing feature flag requirements
1 parent 0c8269b commit 14db8fb

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
signaling in a future version as testing completes, breaking compatibility.
88
Support for accepting splices is gated on
99
`UserConfig::reject_inbound_splices`. Outbound splices can be initiated with
10-
`ChannelManager::splice_channel`.
10+
`ChannelManager::splice_channel`. Initiating a splice requires that the
11+
channel counterparty supports splicing. Existing channels can be spliced, as
12+
long as a reconnection with the counterparty occurred after they enabled
13+
splicing. All channel types can be spliced, namely legacy, anchor, and
14+
zero-fee-commitment channels.
1115
* Various APIs have been updated to offer a native Rust async API. All
1216
newly-async traits and structs have a `*Sync` variant which offers the
1317
same API but with sync methods:

lightning/src/ln/channelmanager.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4707,6 +4707,13 @@ where
47074707
/// the channel. This will spend the channel's funding transaction output, effectively replacing
47084708
/// it with a new one.
47094709
///
4710+
/// # Required Feature Flags
4711+
///
4712+
/// Initiating a splice requires that the channel counterparty supports splicing. Existing
4713+
/// channels can be spliced, as long as a reconnection with the counterparty occurred after they
4714+
/// enabled splicing. All channel types can be spliced, namely legacy, anchor, and
4715+
/// zero-fee-commitment channels.
4716+
///
47104717
/// # Arguments
47114718
///
47124719
/// Provide a `contribution` to determine if value is spliced in or out. The splice initiator is

0 commit comments

Comments
 (0)