Skip to content

Commit 40a70d1

Browse files
jkczyzclaude
andcommitted
Add pending changelog for SpliceFailed / DiscardFunding split
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 81b4396 commit 40a70d1

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# API Updates
2+
3+
* `Event::SpliceFailed` no longer carries `contributed_inputs` or `contributed_outputs` fields.
4+
Instead, a separate `Event::DiscardFunding` event with `FundingInfo::Contribution` is emitted
5+
for UTXO cleanup.
6+
7+
* `Event::DiscardFunding` with `FundingInfo::Contribution` is also emitted without a
8+
corresponding `Event::SpliceFailed` when `ChannelManager::funding_contributed` returns an
9+
error (e.g., channel or peer not found, wrong channel state, duplicate contribution).
10+
11+
# Backwards Compatibility
12+
13+
* Older serializations that included `contributed_inputs` and `contributed_outputs` in
14+
`SpliceFailed` will have those fields silently ignored on deserialization (they were odd TLV
15+
fields). A `DiscardFunding` event will not be produced when reading these older serializations.
16+
17+
# Forward Compatibility
18+
19+
* Downgrading will not set the removed `contributed_inputs`/`contributed_outputs` fields on
20+
`SpliceFailed`, so older code expecting those fields will see empty vectors for splice
21+
failures.

0 commit comments

Comments
 (0)