Skip to content

Commit 26a2f25

Browse files
committed
Clarify RBF strategy for channel opens
1 parent b42f594 commit 26a2f25

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,6 +1539,10 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
15391539
/// Do NOT broadcast the funding transaction yourself. When we have safely received our
15401540
/// counterparty's signature the funding transaction will automatically be broadcast via the
15411541
/// [`BroadcasterInterface`] provided when this `ChannelManager` was constructed.
1542+
///
1543+
/// Note that this includes RBF or similar transaction replacement strategies - lightning does
1544+
/// not currently support replacing a funding transaction on an existing channel. Instead,
1545+
/// create a new channel with a conflicting funding transaction.
15421546
pub fn funding_transaction_generated(&self, temporary_channel_id: &[u8; 32], funding_transaction: Transaction) -> Result<(), APIError> {
15431547
let _persistence_guard = PersistenceNotifierGuard::new(&self.total_consistency_lock, &self.persistence_notifier);
15441548

0 commit comments

Comments
 (0)