Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
8c8275e
perf: sync additional wallets apart from the primary
ovitrif Dec 3, 2026
b3ecd09
fix: keep additional wallet passes from racing the primary's events
ovitrif Dec 3, 2026
39e743c
fix: emit SyncCompleted once every wallet has synced and dedupe event…
ovitrif Dec 3, 2026
2e517db
fix: hold SyncCompleted for runtime-added wallets and report re-confi…
ovitrif Dec 3, 2026
b39917a
chore: release 0.7.0-rc.86
ovitrif Dec 3, 2026
fdcabe9
fix: report full cross-wallet amounts, settle payments on their walle…
ovitrif Dec 3, 2026
4e86a45
chore: ship the review fixes in 0.7.0-rc.86
ovitrif Dec 3, 2026
c7422fe
fix: report additional wallets' sync apart and reconnect a failed idl…
ovitrif Dec 3, 2026
627b31e
chore: ship the additional wallets sync type in 0.7.0-rc.86
ovitrif Dec 3, 2026
24accc9
test: send funds after the additional wallets' startup pass
ovitrif Dec 3, 2026
cf62335
fix: return waited syncs after their pass's events and skip wallets r…
ovitrif Dec 3, 2026
049cac0
docs: cover the additional wallets sync type in the mobile guide
ovitrif Dec 3, 2026
12e9048
chore: ship the waited sync fix in 0.7.0-rc.86
ovitrif Dec 3, 2026
bbb1ace
fix: report the synced wallets' height and rerun a joined pass for ne…
ovitrif Dec 3, 2026
fd9cab0
fix: record only a run pass's synced wallets
ovitrif Dec 3, 2026
9ec6e14
chore: ship the synced height fix in 0.7.0-rc.86
ovitrif Dec 3, 2026
0966797
fix: keep vss sync calls from losing the wakeups of the steps beside …
ovitrif Dec 4, 2026
05b2405
chore: release 0.7.0-rc.87
ovitrif Dec 4, 2026
983050a
fix: sync additional wallets one after another on their connection
ovitrif Dec 4, 2026
91b1784
chore: release 0.7.0-rc.88
ovitrif Dec 4, 2026
36b7ce4
test: cover the additional wallets' sequential sync loop
ovitrif Dec 4, 2026
802d36f
chore: release 0.7.0-rc.89
ovitrif Dec 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# 0.7.0-rc.85 (Synonym Fork)
# 0.7.0-rc.89 (Synonym Fork)

## Bug Fixes

- Fixed an additional wallets' sync pass hanging for up to its full deadline, and `sync_wallets` waiting with it, after a primary address type change: additional wallets now sync one after another on their Electrum connection, each within its own deadline.
- Fixed `sync_wallets` never returning, and background wallet, Lightning and fee syncs stopping with it, on VSS-backed nodes: a sync VSS call made beside another pending sync step no longer takes that step's wakeup.
- Fixed slow node starts on mobile networks since 0.7.0-rc.82: VSS writes reuse the connection the store's reads opened instead of opening a new one.
- A panic in the mobile bindings no longer aborts the app: exports return an error, every running node stops processing and persisting, and a node built before the panic fails to start with `PersistenceFailed`, so build a new one.
- Prevent writes of a stopped node, still retrying against VSS or started by its detached work, from overwriting the state of a node rebuilt on the same store: building a VSS store now waits for a node still running on the same store and wallet to stop and for its writes, retries included, to return, fails with `KVStoreSetupFailed` without replacing anything if they have not after 60 s, and otherwise drops the earlier store's writes from then on, failing all but channel monitor writes; a node whose store has been replaced fails to start with `PersistenceFailed`.
Expand Down Expand Up @@ -87,6 +89,7 @@

## Synonym Fork Additions

- Additional on-chain wallets (monitored address types and derived accounts) sync in the background on their own `additional_wallet_sync_interval_secs` interval, apart from the primary wallet, and over their own Electrum connection, so their sync no longer delays or times out the primary wallet's. Their pass reports `SyncCompleted` with the new `SyncType::AdditionalOnchainWallets`, while `SyncType::OnchainWallet` now covers the primary wallet only.
- Added `build_with_vss_store_and_lnurl_auth_key_domain`, which signs VSS LNURL-auth for a fixed key domain while calling the auth server on a subdomain of it, so wallets keep their VSS identity when the auth server moves to that subdomain.
- Accept incoming payments up to the full channel value, instead of 10% of it, on nodes that cannot announce channels (no node alias or listening addresses), for channels opened after the update.
- Expose the exact prepared transaction fee so applications can validate the approved total before broadcast.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exclude = ["bindings/uniffi-bindgen"]

[package]
name = "ldk-node"
version = "0.7.0-rc.85"
version = "0.7.0-rc.89"
authors = ["Elias Rohrer <dev@tnull.de>"]
homepage = "https://lightningdevkit.org/"
license = "MIT OR Apache-2.0"
Expand Down
3 changes: 3 additions & 0 deletions MOBILE_DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,8 @@ class SyncProgressView: UIView {
self.statusLabel.text = "Syncing Lightning: \(percent)%"
case .feeRateCache:
self.statusLabel.text = "Updating fee rates: \(percent)%"
case .additionalOnchainWallets:
self.statusLabel.text = "Syncing other wallets: \(percent)%"
}

self.progressBar.isHidden = false
Expand Down Expand Up @@ -669,6 +671,7 @@ class SyncProgressFragment : Fragment() {
SyncType.ONCHAIN_WALLET -> "Syncing wallet..."
SyncType.LIGHTNING_WALLET -> "Syncing Lightning..."
SyncType.FEE_RATE_CACHE -> "Updating fee rates..."
SyncType.ADDITIONAL_ONCHAIN_WALLETS -> "Syncing other wallets..."
}

binding.progressContainer.visibility = View.VISIBLE
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import PackageDescription

let tag = "v0.7.0-rc.85"
let checksum = "7837d164dc39310d6a5597c0e5598126c5fa4daa72ba63fb9cb0c4f92a0c1e24"
let tag = "v0.7.0-rc.89"
let checksum = "021e2ef07903f3c217f45f9d93a8dc04a1ae59fdcb4d9160af378e96889db376"
let url = "https://github.com/synonymdev/ldk-node/releases/download/\(tag)/LDKNodeFFI.xcframework.zip"

let package = Package(
Expand Down
2 changes: 1 addition & 1 deletion bindings/kotlin/ldk-node-android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ android.useAndroidX=true
android.enableJetifier=true
kotlin.code.style=official
group=com.synonym
version=0.7.0-rc.85
version=0.7.0-rc.89
Original file line number Diff line number Diff line change
Expand Up @@ -9966,19 +9966,22 @@ object FfiConverterTypeBackgroundSyncConfig: FfiConverterRustBuffer<BackgroundSy
FfiConverterULong.read(buf),
FfiConverterULong.read(buf),
FfiConverterULong.read(buf),
FfiConverterULong.read(buf),
)
}

override fun allocationSize(value: BackgroundSyncConfig) = (
FfiConverterULong.allocationSize(value.`onchainWalletSyncIntervalSecs`) +
FfiConverterULong.allocationSize(value.`lightningWalletSyncIntervalSecs`) +
FfiConverterULong.allocationSize(value.`feeRateCacheUpdateIntervalSecs`)
FfiConverterULong.allocationSize(value.`feeRateCacheUpdateIntervalSecs`) +
FfiConverterULong.allocationSize(value.`additionalWalletSyncIntervalSecs`)
)

override fun write(value: BackgroundSyncConfig, buf: ByteBuffer) {
FfiConverterULong.write(value.`onchainWalletSyncIntervalSecs`, buf)
FfiConverterULong.write(value.`lightningWalletSyncIntervalSecs`, buf)
FfiConverterULong.write(value.`feeRateCacheUpdateIntervalSecs`, buf)
FfiConverterULong.write(value.`additionalWalletSyncIntervalSecs`, buf)
}
}

Expand Down Expand Up @@ -11019,19 +11022,22 @@ object FfiConverterTypeRuntimeSyncIntervals: FfiConverterRustBuffer<RuntimeSyncI
FfiConverterULong.read(buf),
FfiConverterULong.read(buf),
FfiConverterULong.read(buf),
FfiConverterULong.read(buf),
)
}

override fun allocationSize(value: RuntimeSyncIntervals) = (
FfiConverterULong.allocationSize(value.`onchainWalletSyncIntervalSecs`) +
FfiConverterULong.allocationSize(value.`lightningWalletSyncIntervalSecs`) +
FfiConverterULong.allocationSize(value.`feeRateCacheUpdateIntervalSecs`)
FfiConverterULong.allocationSize(value.`feeRateCacheUpdateIntervalSecs`) +
FfiConverterULong.allocationSize(value.`additionalWalletSyncIntervalSecs`)
)

override fun write(value: RuntimeSyncIntervals, buf: ByteBuffer) {
FfiConverterULong.write(value.`onchainWalletSyncIntervalSecs`, buf)
FfiConverterULong.write(value.`lightningWalletSyncIntervalSecs`, buf)
FfiConverterULong.write(value.`feeRateCacheUpdateIntervalSecs`, buf)
FfiConverterULong.write(value.`additionalWalletSyncIntervalSecs`, buf)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,8 @@ data class AnchorChannelsConfig (
data class BackgroundSyncConfig (
val `onchainWalletSyncIntervalSecs`: kotlin.ULong,
val `lightningWalletSyncIntervalSecs`: kotlin.ULong,
val `feeRateCacheUpdateIntervalSecs`: kotlin.ULong
val `feeRateCacheUpdateIntervalSecs`: kotlin.ULong,
val `additionalWalletSyncIntervalSecs`: kotlin.ULong = 80uL
) {
companion object
}
Expand Down Expand Up @@ -1281,7 +1282,8 @@ data class RoutingFees (
data class RuntimeSyncIntervals (
val `onchainWalletSyncIntervalSecs`: kotlin.ULong,
val `lightningWalletSyncIntervalSecs`: kotlin.ULong,
val `feeRateCacheUpdateIntervalSecs`: kotlin.ULong
val `feeRateCacheUpdateIntervalSecs`: kotlin.ULong,
val `additionalWalletSyncIntervalSecs`: kotlin.ULong = 80uL
) {
companion object
}
Expand Down Expand Up @@ -2289,7 +2291,8 @@ enum class SyncType {

ONCHAIN_WALLET,
LIGHTNING_WALLET,
FEE_RATE_CACHE;
FEE_RATE_CACHE,
ADDITIONAL_ONCHAIN_WALLETS;
companion object
}

Expand Down
2 changes: 1 addition & 1 deletion bindings/kotlin/ldk-node-jvm/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
org.gradle.jvmargs=-Xmx1536m
kotlin.code.style=official
group=com.synonym
version=0.7.0-rc.85
version=0.7.0-rc.89
3 changes: 3 additions & 0 deletions bindings/ldk_node.udl
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@ dictionary BackgroundSyncConfig {
u64 onchain_wallet_sync_interval_secs;
u64 lightning_wallet_sync_interval_secs;
u64 fee_rate_cache_update_interval_secs;
u64 additional_wallet_sync_interval_secs = 80;
Comment thread
ovitrif marked this conversation as resolved.
Resolved
};

dictionary RuntimeSyncIntervals {
u64 onchain_wallet_sync_interval_secs;
u64 lightning_wallet_sync_interval_secs;
u64 fee_rate_cache_update_interval_secs;
u64 additional_wallet_sync_interval_secs = 80;
};

dictionary EsploraSyncConfig {
Expand Down Expand Up @@ -602,6 +604,7 @@ enum SyncType {
"OnchainWallet",
"LightningWallet",
"FeeRateCache",
"AdditionalOnchainWallets",
};

[Enum]
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "ldk_node"
version = "0.7.0-rc.85"
version = "0.7.0-rc.89"
authors = [
{ name="Elias Rohrer", email="dev@tnull.de" },
]
Expand Down
36 changes: 32 additions & 4 deletions bindings/python/src/ldk_node/ldk_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -8356,13 +8356,18 @@ class BackgroundSyncConfig:
onchain_wallet_sync_interval_secs: "int"
lightning_wallet_sync_interval_secs: "int"
fee_rate_cache_update_interval_secs: "int"
def __init__(self, *, onchain_wallet_sync_interval_secs: "int", lightning_wallet_sync_interval_secs: "int", fee_rate_cache_update_interval_secs: "int"):
additional_wallet_sync_interval_secs: "int"
def __init__(self, *, onchain_wallet_sync_interval_secs: "int", lightning_wallet_sync_interval_secs: "int", fee_rate_cache_update_interval_secs: "int", additional_wallet_sync_interval_secs: "int" = _DEFAULT):
self.onchain_wallet_sync_interval_secs = onchain_wallet_sync_interval_secs
self.lightning_wallet_sync_interval_secs = lightning_wallet_sync_interval_secs
self.fee_rate_cache_update_interval_secs = fee_rate_cache_update_interval_secs
if additional_wallet_sync_interval_secs is _DEFAULT:
self.additional_wallet_sync_interval_secs = 80
else:
self.additional_wallet_sync_interval_secs = additional_wallet_sync_interval_secs

def __str__(self):
return "BackgroundSyncConfig(onchain_wallet_sync_interval_secs={}, lightning_wallet_sync_interval_secs={}, fee_rate_cache_update_interval_secs={})".format(self.onchain_wallet_sync_interval_secs, self.lightning_wallet_sync_interval_secs, self.fee_rate_cache_update_interval_secs)
return "BackgroundSyncConfig(onchain_wallet_sync_interval_secs={}, lightning_wallet_sync_interval_secs={}, fee_rate_cache_update_interval_secs={}, additional_wallet_sync_interval_secs={})".format(self.onchain_wallet_sync_interval_secs, self.lightning_wallet_sync_interval_secs, self.fee_rate_cache_update_interval_secs, self.additional_wallet_sync_interval_secs)

def __eq__(self, other):
if self.onchain_wallet_sync_interval_secs != other.onchain_wallet_sync_interval_secs:
Expand All @@ -8371,6 +8376,8 @@ def __eq__(self, other):
return False
if self.fee_rate_cache_update_interval_secs != other.fee_rate_cache_update_interval_secs:
return False
if self.additional_wallet_sync_interval_secs != other.additional_wallet_sync_interval_secs:
return False
return True

class _UniffiConverterTypeBackgroundSyncConfig(_UniffiConverterRustBuffer):
Expand All @@ -8380,19 +8387,22 @@ def read(buf):
onchain_wallet_sync_interval_secs=_UniffiConverterUInt64.read(buf),
lightning_wallet_sync_interval_secs=_UniffiConverterUInt64.read(buf),
fee_rate_cache_update_interval_secs=_UniffiConverterUInt64.read(buf),
additional_wallet_sync_interval_secs=_UniffiConverterUInt64.read(buf),
)

@staticmethod
def check_lower(value):
_UniffiConverterUInt64.check_lower(value.onchain_wallet_sync_interval_secs)
_UniffiConverterUInt64.check_lower(value.lightning_wallet_sync_interval_secs)
_UniffiConverterUInt64.check_lower(value.fee_rate_cache_update_interval_secs)
_UniffiConverterUInt64.check_lower(value.additional_wallet_sync_interval_secs)

@staticmethod
def write(value, buf):
_UniffiConverterUInt64.write(value.onchain_wallet_sync_interval_secs, buf)
_UniffiConverterUInt64.write(value.lightning_wallet_sync_interval_secs, buf)
_UniffiConverterUInt64.write(value.fee_rate_cache_update_interval_secs, buf)
_UniffiConverterUInt64.write(value.additional_wallet_sync_interval_secs, buf)


class BalanceDetails:
Expand Down Expand Up @@ -10307,13 +10317,18 @@ class RuntimeSyncIntervals:
onchain_wallet_sync_interval_secs: "int"
lightning_wallet_sync_interval_secs: "int"
fee_rate_cache_update_interval_secs: "int"
def __init__(self, *, onchain_wallet_sync_interval_secs: "int", lightning_wallet_sync_interval_secs: "int", fee_rate_cache_update_interval_secs: "int"):
additional_wallet_sync_interval_secs: "int"
def __init__(self, *, onchain_wallet_sync_interval_secs: "int", lightning_wallet_sync_interval_secs: "int", fee_rate_cache_update_interval_secs: "int", additional_wallet_sync_interval_secs: "int" = _DEFAULT):
self.onchain_wallet_sync_interval_secs = onchain_wallet_sync_interval_secs
self.lightning_wallet_sync_interval_secs = lightning_wallet_sync_interval_secs
self.fee_rate_cache_update_interval_secs = fee_rate_cache_update_interval_secs
if additional_wallet_sync_interval_secs is _DEFAULT:
self.additional_wallet_sync_interval_secs = 80
else:
self.additional_wallet_sync_interval_secs = additional_wallet_sync_interval_secs

def __str__(self):
return "RuntimeSyncIntervals(onchain_wallet_sync_interval_secs={}, lightning_wallet_sync_interval_secs={}, fee_rate_cache_update_interval_secs={})".format(self.onchain_wallet_sync_interval_secs, self.lightning_wallet_sync_interval_secs, self.fee_rate_cache_update_interval_secs)
return "RuntimeSyncIntervals(onchain_wallet_sync_interval_secs={}, lightning_wallet_sync_interval_secs={}, fee_rate_cache_update_interval_secs={}, additional_wallet_sync_interval_secs={})".format(self.onchain_wallet_sync_interval_secs, self.lightning_wallet_sync_interval_secs, self.fee_rate_cache_update_interval_secs, self.additional_wallet_sync_interval_secs)

def __eq__(self, other):
if self.onchain_wallet_sync_interval_secs != other.onchain_wallet_sync_interval_secs:
Expand All @@ -10322,6 +10337,8 @@ def __eq__(self, other):
return False
if self.fee_rate_cache_update_interval_secs != other.fee_rate_cache_update_interval_secs:
return False
if self.additional_wallet_sync_interval_secs != other.additional_wallet_sync_interval_secs:
return False
return True

class _UniffiConverterTypeRuntimeSyncIntervals(_UniffiConverterRustBuffer):
Expand All @@ -10331,19 +10348,22 @@ def read(buf):
onchain_wallet_sync_interval_secs=_UniffiConverterUInt64.read(buf),
lightning_wallet_sync_interval_secs=_UniffiConverterUInt64.read(buf),
fee_rate_cache_update_interval_secs=_UniffiConverterUInt64.read(buf),
additional_wallet_sync_interval_secs=_UniffiConverterUInt64.read(buf),
)

@staticmethod
def check_lower(value):
_UniffiConverterUInt64.check_lower(value.onchain_wallet_sync_interval_secs)
_UniffiConverterUInt64.check_lower(value.lightning_wallet_sync_interval_secs)
_UniffiConverterUInt64.check_lower(value.fee_rate_cache_update_interval_secs)
_UniffiConverterUInt64.check_lower(value.additional_wallet_sync_interval_secs)

@staticmethod
def write(value, buf):
_UniffiConverterUInt64.write(value.onchain_wallet_sync_interval_secs, buf)
_UniffiConverterUInt64.write(value.lightning_wallet_sync_interval_secs, buf)
_UniffiConverterUInt64.write(value.fee_rate_cache_update_interval_secs, buf)
_UniffiConverterUInt64.write(value.additional_wallet_sync_interval_secs, buf)


class ScoringDecayParameters:
Expand Down Expand Up @@ -15541,6 +15561,8 @@ class SyncType(enum.Enum):

FEE_RATE_CACHE = 2

ADDITIONAL_ONCHAIN_WALLETS = 3



class _UniffiConverterTypeSyncType(_UniffiConverterRustBuffer):
Expand All @@ -15553,6 +15575,8 @@ def read(buf):
return SyncType.LIGHTNING_WALLET
if variant == 3:
return SyncType.FEE_RATE_CACHE
if variant == 4:
return SyncType.ADDITIONAL_ONCHAIN_WALLETS
raise InternalError("Raw enum value doesn't match any cases")

@staticmethod
Expand All @@ -15563,6 +15587,8 @@ def check_lower(value):
return
if value == SyncType.FEE_RATE_CACHE:
return
if value == SyncType.ADDITIONAL_ONCHAIN_WALLETS:
return
raise ValueError(value)

@staticmethod
Expand All @@ -15573,6 +15599,8 @@ def write(value, buf):
buf.write_i32(2)
if value == SyncType.FEE_RATE_CACHE:
buf.write_i32(3)
if value == SyncType.ADDITIONAL_ONCHAIN_WALLETS:
buf.write_i32(4)



Expand Down
Loading
Loading