Skip to content

Commit 1531af7

Browse files
ovitrifclaude
andcommitted
chore: reword changelog and regenerate bindings for v0.7.0-rc.33
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ad5d519 commit 1531af7

8 files changed

Lines changed: 435 additions & 417 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,20 @@
2626
- Switched from forked rust-lightning (`ovitrif/rust-lightning#0.2-electrum-fix`) back to official
2727
upstream crates.io releases. The Electrum sync fix (PR #4341) is now in upstream
2828
`lightning-transaction-sync` v0.2.1. Also picks up `lightning` v0.2.2 fixes.
29+
- Fixed FS→KV channel data migration blindly overwriting newer state. The migration now skips
30+
writing a channel monitor when the KV store already holds one with a newer or equal `update_id`,
31+
and skips the channel manager when one already exists. Read or deserialization failures fail-closed
32+
to prevent silent data loss.
2933

3034
## Synonym Fork Additions
3135

32-
- Fixed channel monitor migration from filesystem store to KV store overwriting newer state.
33-
During FS→KV migration, the code now checks if the KV store already has a channel monitor
34-
with a newer `update_id` before writing, preventing stale migration data from overwriting
35-
current state on repeated migrations or restarts. Errors reading or deserializing existing
36-
monitors now fail-closed (abort migration) to avoid silent data loss.
3736
- Added `connection_timeout_secs` field to `ElectrumSyncConfig` (default: 10 s). This bounds
3837
Electrum socket operations for both the BDK on-chain and LDK tx-sync clients, preventing Tokio's
3938
blocking thread pool from being exhausted by threads stuck on dead sockets under total packet
4039
loss (e.g. a captive portal on iOS). Set to `0` to disable; values above 255 are capped to
4140
255 and a warning is logged.
4241
**Breaking change:** existing struct-literal construction of `ElectrumSyncConfig` must add the
4342
new field or switch to `ElectrumSyncConfig { .., ..Default::default() }`.
44-
4543
- Added `OnchainPayment::calculate_send_all_fee()` to preview the fee for a drain / send-all
4644
transaction before broadcasting (fee-calculation counterpart of `send_all_to_address`)
4745
- Added runtime APIs for dynamic address type management:

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import PackageDescription
55

66
let tag = "v0.7.0-rc.33"
7-
let checksum = "82e318ac605e04d87f1aa24c920c06627346d9500c6395db45cb23f159e200f0"
7+
let checksum = "a6bc32bf63117e80141f9e4cc529d33e16e141460b269125f4150e1251a1108a"
88
let url = "https://github.com/synonymdev/ldk-node/releases/download/\(tag)/LDKNodeFFI.xcframework.zip"
99

1010
let package = Package(

0 commit comments

Comments
 (0)