Skip to content

Use official splice messages#768

Open
t-bast wants to merge 2 commits intomasterfrom
splicing-official
Open

Use official splice messages#768
t-bast wants to merge 2 commits intomasterfrom
splicing-official

Conversation

@t-bast
Copy link
Member

@t-bast t-bast commented Mar 3, 2025

We replace our experimental version of splice_init, splice_ack and splice_locked by their official version. We also change the TLV fields added to commit_sig, tx_add_input, and tx_signatures to match the spec version and introduce the start_batch message.

We also implement the updated retransmission logic for channel_ready and splice_locked based on the my_current_funding_locked and next_funding TLVs added to channel_reestablish.

We only allow connecting to peers who support the official splicing feature.

This update should be released after deploying ACINQ/eclair#2887. Once enough users have upgraded, we'll be able to remove support from the legacy splicing protocol from eclair, which will provide a nice code clean-up.

@t-bast t-bast force-pushed the splicing-official branch from 938722c to 29d8ae8 Compare May 16, 2025 08:27
@t-bast t-bast force-pushed the splicing-official branch from 29d8ae8 to c80d77f Compare January 21, 2026 13:29
@t-bast t-bast marked this pull request as ready for review January 21, 2026 13:31
t-bast added 2 commits March 5, 2026 09:50
We replace our experimental version of `splice_init`, `splice_ack` and
`splice_locked` by their official version. We also change the TLV fields
added to `commit_sig`, `tx_add_input`, and `tx_signatures` to match the
spec version.

We only allow connecting to peers who support the official splicing
feature.
With splicing, we introduce new TLVs to `channel_reestablish` to let
our peer know:

- the latest `splice_locked` (or `channel_ready`) we're ready to send or
  have sent before disconnecting
- whether we need a retransmission of `commit_sig` for the next funding
- whether we need a retransmission of `announcement_signatures` for the
  next funding (always false for mobile wallets)

This lets us clean-up retransmission of those messages and follow the
official splicing spec.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant