Skip to content

Commit b04d0f5

Browse files
authored
Merge pull request #61 from synonymdev/fix/peer-address-upsert-main
fix: upsert peer address on connect
2 parents 8aa5942 + 5618fc7 commit b04d0f5

19 files changed

Lines changed: 508 additions & 285 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
# 0.7.0-rc.25 (Synonym Fork)
1+
# 0.7.0-rc.27 (Synonym Fork)
22

33
## Bug Fixes
44

5+
- Fixed `PeerStore::add_peer` silently ignoring address updates for existing peers. When a peer's
6+
IP address changes (e.g., LSP node migration), `add_peer` now upserts the socket address and
7+
re-persists, instead of returning early. This fixes the issue where ldk-node's reconnection loop
8+
would indefinitely use a stale cached IP after an LSP node IP change.
9+
(See [upstream issue #700](https://github.com/lightningdevkit/ldk-node/issues/700))
510
- Backported upstream Electrum sync fix (PR #4341): Skip unconfirmed `get_history` entries in
611
`ElectrumSyncClient`. Previously, mempool entries (height=0 or -1) were incorrectly treated as
712
confirmed, causing `get_merkle` to fail for 0-conf channel funding transactions.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exclude = ["bindings/uniffi-bindgen"]
44

55
[package]
66
name = "ldk-node"
7-
version = "0.7.0-rc.25"
7+
version = "0.7.0-rc.27"
88
authors = ["Elias Rohrer <dev@tnull.de>"]
99
homepage = "https://lightningdevkit.org/"
1010
license = "MIT OR Apache-2.0"

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import PackageDescription
55

6-
let tag = "v0.7.0-rc.25"
7-
let checksum = "3abf83a20d41a79337b9eae1c86da375b49423d5fe5176e4876b76285fde44ee"
6+
let tag = "v0.7.0-rc.27"
7+
let checksum = "3b26fa722dbabc615ff61360c67974d9b07f8789fafc2871315557356b5439db"
88
let url = "https://github.com/synonymdev/ldk-node/releases/download/\(tag)/LDKNodeFFI.xcframework.zip"
99

1010
let package = Package(

bindings/kotlin/ldk-node-android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ android.useAndroidX=true
33
android.enableJetifier=true
44
kotlin.code.style=official
55
group=com.synonym
6-
version=0.7.0-rc.25
6+
version=0.7.0-rc.27

0 commit comments

Comments
 (0)