Skip to content

splice: Adjust batch_size TLV to match Eclair’s #8289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

ddustin
Copy link
Collaborator

@ddustin ddustin commented May 15, 2025

Eclair only sets batch_size and funding_txid when its a batch larger than 1.

Adjust how we send and what we expect to receive to match this.

Changelog-None

@ddustin ddustin added this to the v25.05 milestone May 15, 2025
Copy link
Contributor

@remyers remyers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to add some checks to avoid crashes.

Eclair only sets `batch_size` and `funding_txid` when its a batch larger than 1.

Adjust how we send and what we expect to receive to match this.

Changelog-None
@ddustin ddustin force-pushed the ddustin/batch_size_tlv branch from b7aac40 to cca076b Compare May 15, 2025 15:30
remyers added a commit to remyers/lightning-cfg that referenced this pull request May 15, 2025
Had to also apply my own version of ElementsProject/lightning#8289 to fix crashes, but should be the same as the final.
@remyers
Copy link
Contributor

remyers commented May 15, 2025

My tests are passing with my own (essentially identical) changes on top of master.
I'll rerun now with this patch if it's final. Previous test results are here.

@remyers
Copy link
Contributor

remyers commented May 15, 2025

Tests are passing with this PR. 🚀⚡

@endothermicdev
Copy link
Collaborator

Thanks for the interop testing!
ACK cca076b

@endothermicdev endothermicdev merged commit 10708e3 into ElementsProject:master May 15, 2025
40 checks passed
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.

3 participants