Skip to content

Commit 90dbf43

Browse files
committed
Bump ldk-node to tip (parallel Esplora tx_sync + 90s wallet-sync timeout)
Catches lightning-js up to the ldk-node branch tip (lsp-0.7.0_accept-underpaying-htlcs_with_timing_logs @ f43d869), which pulls in: - rust-lightning#22 parallel Esplora tx_sync (buffer_unordered) via ldk-node's rust-lightning rev, and - ldk-node#39 raising LDK_WALLET_SYNC_TIMEOUT_SECS 10 -> 90. Together these stop the TxSyncTimeout -> NAPI panic on cold webhook-node boots now that prod Esplora's /api/ rate limits are raised (lightning-node PR #838). API adaptation: ldk-node#37 added an optional fee_claim arg to Builder::set_liquidity_source_lsps4; pass None to preserve prior behavior. bitcoin-payment-instructions stays pinned at bc7d03f (reqwest 0.12): the ldk-node tip references bpi bdcef061 which moved to reqwest 0.13, and matching it pulls a tower-http conflict against ldk-node's own reqwest 0.12 once bpi's http feature is enabled. Holding bpi at bc7d03f keeps a single reqwest major in the tree (a duplicate-bpi compile already existed pre-bump, so no regression).
1 parent 504c2d6 commit 90dbf43

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ bitcoin-payment-instructions = { git = "https://github.com/moneydevkit/bitcoin-p
1818
"http",
1919
] }
2020
# Branch: https://github.com/moneydevkit/ldk-node/commits/lsp-0.7.0_accept-underpaying-htlcs_with_timing_logs
21-
ldk-node = { default-features = false, git = "https://github.com/moneydevkit/ldk-node.git", rev = "5dce44b6e795560bbf62f49d3648308ce88a0586" }
21+
ldk-node = { default-features = false, git = "https://github.com/moneydevkit/ldk-node.git", rev = "f43d869b8ba6ee743c412663d723269d6344df8d" }
2222
#ldk-node = { path = "../ldk-node" }
2323

2424
napi = { version = "2", features = ["napi4"] }

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,9 @@ impl MdkNode {
457457
let logger_arc = Arc::clone(logger_instance());
458458
let logger: Arc<dyn LogWriter> = logger_arc;
459459
builder.set_custom_logger(logger);
460-
builder.set_liquidity_source_lsps4(lsp_node_id, lsp_address);
460+
// Third arg is the optional LSPS4 fee_claim (added in ldk-node #37). None
461+
// preserves prior behavior (no fee claim configured).
462+
builder.set_liquidity_source_lsps4(lsp_node_id, lsp_address, None);
461463

462464
if let Some(scoring) = options.scoring_param_overrides {
463465
let mut fee_params = ProbabilisticScoringFeeParameters::default();

0 commit comments

Comments
 (0)