Skip to content

Commit ad5d519

Browse files
committed
Merge branch 'main' into fix/channel-monitor-migration
# Conflicts: # CHANGELOG.md # Package.swift # bindings/kotlin/ldk-node-android/lib/src/main/jniLibs/arm64-v8a/libldk_node.so # bindings/kotlin/ldk-node-android/lib/src/main/jniLibs/armeabi-v7a/libldk_node.so # bindings/kotlin/ldk-node-android/lib/src/main/jniLibs/x86_64/libldk_node.so # bindings/kotlin/ldk-node-jvm/lib/src/main/resources/darwin-aarch64/libldk_node.dylib # bindings/kotlin/ldk-node-jvm/lib/src/main/resources/darwin-x86-64/libldk_node.dylib
2 parents dc087fb + d1d6fff commit ad5d519

19 files changed

Lines changed: 562 additions & 450 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@
3434
with a newer `update_id` before writing, preventing stale migration data from overwriting
3535
current state on repeated migrations or restarts. Errors reading or deserializing existing
3636
monitors now fail-closed (abort migration) to avoid silent data loss.
37+
- Added `connection_timeout_secs` field to `ElectrumSyncConfig` (default: 10 s). This bounds
38+
Electrum socket operations for both the BDK on-chain and LDK tx-sync clients, preventing Tokio's
39+
blocking thread pool from being exhausted by threads stuck on dead sockets under total packet
40+
loss (e.g. a captive portal on iOS). Set to `0` to disable; values above 255 are capped to
41+
255 and a warning is logged.
42+
**Breaking change:** existing struct-literal construction of `ElectrumSyncConfig` must add the
43+
new field or switch to `ElectrumSyncConfig { .., ..Default::default() }`.
44+
3745
- Added `OnchainPayment::calculate_send_all_fee()` to preview the fee for a drain / send-all
3846
transaction before broadcasting (fee-calculation counterpart of `send_all_to_address`)
3947
- 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 = "235e276d2a39ed41abb4034b027f72bf876b65eb40a2a584cc1d06208ad7a58a"
7+
let checksum = "82e318ac605e04d87f1aa24c920c06627346d9500c6395db45cb23f159e200f0"
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)