Skip to content

Commit 8f5574f

Browse files
committed
Bump ldk-node f13fcea -> f43d869 (90s wallet-sync timeout + LSPS4 fee_claim arg)
Moves the ldk-node pin to the tip of lsp-0.7.0_accept-underpaying-htlcs_with_timing_logs, picking up: - ldk-node#39: LDK_WALLET_SYNC_TIMEOUT_SECS 10 -> 90, and - ldk-node#37: optional fee_claim on the LSPS4 liquidity source. Together with rust-lightning#22 (parallel Esplora tx_sync, already in via ldk-node's rust-lightning rev) and the prod Esplora rate-limit raise (lightning-node#838), this stops the TxSyncTimeout -> NAPI panic on cold webhook-node boots. API adaptation: ldk-node#37 added a fee_claim: Option<String> arg to Builder::set_liquidity_source_lsps4; pass None to preserve prior behavior. bitcoin-payment-instructions stays at main's bdcef061 (no change here).
1 parent ed77553 commit 8f5574f

3 files changed

Lines changed: 22 additions & 20 deletions

File tree

Cargo.lock

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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 = "f13fcead7e02ef4b77489a83854f204de11e902b" }
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
@@ -513,7 +513,9 @@ impl MdkNode {
513513
let logger_arc = Arc::clone(logger_instance());
514514
let logger: Arc<dyn LogWriter> = logger_arc;
515515
builder.set_custom_logger(logger);
516-
builder.set_liquidity_source_lsps4(lsp_node_id, lsp_address);
516+
// Third arg is the optional LSPS4 fee_claim (added in ldk-node #37). None
517+
// preserves prior behavior (no fee claim configured).
518+
builder.set_liquidity_source_lsps4(lsp_node_id, lsp_address, None);
517519

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

0 commit comments

Comments
 (0)