Skip to content

chore: rebase on upstream ldk-node v0.7.1 #150

Backlog

Description

@ovitrif

Our main contains upstream v0.7.0 (68ab7f4) but none of the 40 commits upstream tagged as v0.7.1 on 2026-10-12 (lightningdevkit#1158, plus lightningdevkit#1155 for CI). git cherry finds no equivalent patch for any of them on our main.

Rebase the fork onto v0.7.1 and replay our commits on top, as #22 did for 0.7.

What v0.7.1 brings that we don't have, among others:

  • Payments:
    • late failures no longer flip a successful Lightning payment
    • a duplicate HTLC no longer marks an inbound payment failed
    • unified send no longer falls back to on-chain after DuplicatePayment / PersistenceFailed (BOLT11 and BOLT12)
    • underpaid BOLT11 JIT invoices and payments with unknown required TLVs are rejected
  • Funds:
    • anchor reserves are fixed for splice-in-all and for channels where the peer marks anchors optional
    • oversized splice-out and overflowing unified receive amounts are rejected
    • a BOLT11 claim amount underflow is fixed
  • Persistence:
    • caches stay unchanged when a persist fails
    • manager read errors fail closed
  • Chain:
    • bitcoind REST follows reorgs and fetches raw transactions correctly
    • Electrum Filter registrations survive stop/start
  • Hardening:
    • the seed file gets restrictive permissions
    • preimages are no longer logged at INFO
    • malformed hex is rejected

v0.7.1 keeps uniffi at 0.28.3, so the generated bindings and the apps' integration don't change from this.

Our 448 commits on top of 0.7.0 touch src/ffi/types.rs and bindings/ldk_node.udl only lightly (+264/-13), so binding conflicts should be small. Most conflicts are likely in the payment, persistence and chain-source files that both sides changed.

Activity

  1. added theissue type on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions