Skip to content

Update ldk-node and align lightning deps#80

Merged
benthecarman merged 1 commit into
masterfrom
update-ldk-node
Jun 26, 2026
Merged

Update ldk-node and align lightning deps#80
benthecarman merged 1 commit into
masterfrom
update-ldk-node

Conversation

@benthecarman

Copy link
Copy Markdown
Collaborator

Bump ldk-node to 8a54260.

Bump ldk-node to 8a54260. The new revision builds against
rust-lightning 3dfcc4c, so lightning, lightning-invoice, and the
bitcoin-payment-instructions fork are moved to revisions pinned to
that same commit. Without sharing one lightning version, invoice and
offer types crossing the ldk-node boundary fail to unify.

Migrate to the changed ldk-node API:

- PaymentKind::Bolt11Jit is folded into Bolt11, which now carries
  counterparty_skimmed_fee_msat directly.
- The SplicePending and SpliceFailed events are renamed to
  SpliceNegotiated and SpliceNegotiationFailed.
- ChannelDetails exposes the counterparty node id through a nested
  counterparty field rather than counterparty_node_id.
- Builder liquidity setup is renamed: set_liquidity_source_lsps2
  becomes add_liquidity_source (trusting the LSP for 0conf as before)
  and set_liquidity_provider_lsps2 becomes enable_liquidity_provider.

The bundled SqliteStore and VssStore now implement only the async
KVStore trait, so the DynStore wrapper drops its KVStoreSync half;
build_with_store no longer requires the sync interface and nothing
else in the crate used it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@benthecarman benthecarman merged commit be9d64f into master Jun 26, 2026
2 of 4 checks passed
@benthecarman benthecarman deleted the update-ldk-node branch June 26, 2026 20:03
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