From 1094361b933b830bb7f133dd9deb8159c8677050 Mon Sep 17 00:00:00 2001 From: Ovi Trif Date: Tue, 1 Dec 2026 15:39:22 +0100 Subject: [PATCH] fix: speed up node start on slow networks Bumps ldk-node to 0.7.0-rc.85: VSS writes reuse the connection the store's reads opened (synonymdev/ldk-node#147), so the first ChannelMonitor write at node start doesn't wait on a new connect and its retries (synonymdev/bitkit-android#2219). Verified: ./gradlew --write-verification-metadata sha256 help resolves ldk-node-android 0.7.0-rc.85 from GitHub Packages and records its checksums --- changelog.d/next/2219.fixed.md | 1 + gradle/libs.versions.toml | 2 +- gradle/verification-metadata.xml | 11 +++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 changelog.d/next/2219.fixed.md diff --git a/changelog.d/next/2219.fixed.md b/changelog.d/next/2219.fixed.md new file mode 100644 index 0000000000..983d365640 --- /dev/null +++ b/changelog.d/next/2219.fixed.md @@ -0,0 +1 @@ +The node starts faster on slow mobile networks, since backup writes reuse the connection the app already opened. diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a900e08477..7b6cb2f889 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -69,7 +69,7 @@ ktor-client-logging = { module = "io.ktor:ktor-client-logging", version.ref = "k ktor-client-mock = { module = "io.ktor:ktor-client-mock", version.ref = "ktor" } ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" } ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" } -ldk-node-android = { module = "com.synonym:ldk-node-android", version = "0.7.0-rc.84" } +ldk-node-android = { module = "com.synonym:ldk-node-android", version = "0.7.0-rc.85" } lifecycle-process = { group = "androidx.lifecycle", name = "lifecycle-process", version.ref = "lifecycle" } lifecycle-runtime-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version.ref = "lifecycle" } lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle" } diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index 8c403f28b6..8f18e6af9e 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -4450,6 +4450,17 @@ + + + + + + + + + + +