Skip to content

Bump LDK to 0.3-rc1 - #1077

Merged
jkczyz merged 1 commit into
lightningdevkit:mainfrom
jkczyz:2026-08-bump-ldk-0.3-rc1
Sep 1, 2026
Merged

Bump LDK to 0.3-rc1#1077
jkczyz merged 1 commit into
lightningdevkit:mainfrom
jkczyz:2026-08-bump-ldk-0.3-rc1

Conversation

@jkczyz

@jkczyz jkczyz commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Bumps the pinned rust-lightning revision to 4219131b0, the v0.3-rc1 tag. The rc1 backports (rust-lightning #4937) include failing queued splice contributions on ChannelManager reload and force-close (rust-lightning #4918): a splice contribution dropped by a restart now replays SpliceNegotiationFailed and DiscardFunding events instead of dying silently, which upcoming splice-tracking work relies on.

API fallout is small: HTLCLocator split into InboundHTLCLocator/OutboundHTLCLocator (both convert into our single HTLCLocator event type), and the async channel-monitor reader dropped its _parallel suffix. rc1 also changed Event::SpliceNegotiationFailed::contribution from Option<FundingContribution> to Option<FailedSpliceContribution>, but our handler doesn't consume that field, so no change was needed.

bitcoin-payment-instructions pins LDK by git rev and must move in lockstep. No rev on the previously pinned fork pins rc1 yet, so the dependency moves to an equivalent fork rev (jkczyz/bitcoin-payment-instructions@c359b125 — the same tree as the previous pin plus the LDK bump).

One dev-only caveat: a ChannelManager written by v0.3-beta1 with a pending splice-failure event is unreadable by rc1, due to the TLV collision fix (rust-lightning 879f640e7). No ldk-node release shipped beta1, so only development nodes that ran against beta1 are affected.

Developed with assistance from Claude Code.

The 0.3-rc1 backports (rust-lightning #4937) include failing queued
splice contributions on ChannelManager reload and force-close
(rust-lightning #4918), which the upcoming splice tracking relies on: a
contribution dropped by a restart now replays SpliceNegotiationFailed
and DiscardFunding events instead of dying silently.

Adjust for rc1 API changes: HTLCLocator split into inbound and outbound
variants, and the async monitor reader dropped its _parallel suffix.

bitcoin-payment-instructions pins LDK by rev and must move in lockstep;
the previously pinned fork has no rev pinning rc1 yet, so the dependency
moves to an equivalent fork rev (the same tree plus the LDK bump).

Developed with assistance from Claude Code.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ldk-reviews-bot

ldk-reviews-bot commented Sep 1, 2026

Copy link
Copy Markdown

👋 Thanks for assigning @benthecarman as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@jkczyz
jkczyz merged commit b1337d2 into lightningdevkit:main Sep 1, 2026
23 of 25 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