From 64a0588a1386710724f2d53cde3ea7fc66f24a31 Mon Sep 17 00:00:00 2001 From: amackillop Date: Fri, 7 Aug 2026 12:35:03 -0700 Subject: [PATCH] Bump rust-lightning pins to the lsp-0.2.5 branch Moves all twelve lightning-* git pins from lsp-0.2.0 (based on upstream v0.2) to lsp-0.2.5 (d6f87a44d), our fork rebased onto upstream v0.2.5. Picks up the 0.2.1-0.2.5 security and bug fixes, most notably the funds-theft fix for forwarding nodes (#4854), the possiblyrandom HashDoS fix (#4719), and the LSPS persistence stuck-after-one-failure fix (#4597). The rebase moves splicing to production feature bit 63 (upstream 0.2.2), and the fork additionally dual-advertises the legacy prototype bit 155 and accepts it at the splice_channel gate, so un-upgraded clients keep splicing until client version telemetry (MDK-424) ships and confirms the bit can be sunset. The ACINQ carve-out (strip 155, eclair chokes on both bits) is preserved. No code changes required: the fork API surface is unchanged and the 0.2.3 DefaultMessageRouter change (unblinded reply paths for nodes with public channels, the LND BOLT12 workaround) is behavioral only. --- Cargo.toml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fe07cdffdf..a186e80636 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,18 +41,18 @@ default = [] # lightning-liquidity = { version = "0.2.0", features = ["std"] } # lightning-macros = { version = "0.2.0" } -# Branch: https://github.com/moneydevkit/rust-lightning/commits/lsp-0.2.0/ -lightning = { git = "https://github.com/moneydevkit/rust-lightning", rev = "bdcdf57de38baeabce4bf8486769bc60d0aa0f8d", features = ["std"] } -lightning-types = { git = "https://github.com/moneydevkit/rust-lightning", rev = "bdcdf57de38baeabce4bf8486769bc60d0aa0f8d" } -lightning-invoice = { git = "https://github.com/moneydevkit/rust-lightning", rev = "bdcdf57de38baeabce4bf8486769bc60d0aa0f8d", features = ["std"] } -lightning-net-tokio = { git = "https://github.com/moneydevkit/rust-lightning", rev = "bdcdf57de38baeabce4bf8486769bc60d0aa0f8d" } -lightning-persister = { git = "https://github.com/moneydevkit/rust-lightning", rev = "bdcdf57de38baeabce4bf8486769bc60d0aa0f8d", features = ["tokio"] } -lightning-background-processor = { git = "https://github.com/moneydevkit/rust-lightning", rev = "bdcdf57de38baeabce4bf8486769bc60d0aa0f8d" } -lightning-rapid-gossip-sync = { git = "https://github.com/moneydevkit/rust-lightning", rev = "bdcdf57de38baeabce4bf8486769bc60d0aa0f8d" } -lightning-block-sync = { git = "https://github.com/moneydevkit/rust-lightning", rev = "bdcdf57de38baeabce4bf8486769bc60d0aa0f8d", features = ["rest-client", "rpc-client", "tokio"] } -lightning-transaction-sync = { git = "https://github.com/moneydevkit/rust-lightning", rev = "bdcdf57de38baeabce4bf8486769bc60d0aa0f8d", features = ["esplora-async-https", "time", "electrum-rustls-ring"] } -lightning-liquidity = { git = "https://github.com/moneydevkit/rust-lightning", rev = "bdcdf57de38baeabce4bf8486769bc60d0aa0f8d", features = ["std"] } -lightning-macros = { git = "https://github.com/moneydevkit/rust-lightning", rev = "bdcdf57de38baeabce4bf8486769bc60d0aa0f8d" } +# Branch: https://github.com/moneydevkit/rust-lightning/commits/lsp-0.2.5/ +lightning = { git = "https://github.com/moneydevkit/rust-lightning", rev = "d6f87a44d0ee77a93094fca58dd5bd7349494a06", features = ["std"] } +lightning-types = { git = "https://github.com/moneydevkit/rust-lightning", rev = "d6f87a44d0ee77a93094fca58dd5bd7349494a06" } +lightning-invoice = { git = "https://github.com/moneydevkit/rust-lightning", rev = "d6f87a44d0ee77a93094fca58dd5bd7349494a06", features = ["std"] } +lightning-net-tokio = { git = "https://github.com/moneydevkit/rust-lightning", rev = "d6f87a44d0ee77a93094fca58dd5bd7349494a06" } +lightning-persister = { git = "https://github.com/moneydevkit/rust-lightning", rev = "d6f87a44d0ee77a93094fca58dd5bd7349494a06", features = ["tokio"] } +lightning-background-processor = { git = "https://github.com/moneydevkit/rust-lightning", rev = "d6f87a44d0ee77a93094fca58dd5bd7349494a06" } +lightning-rapid-gossip-sync = { git = "https://github.com/moneydevkit/rust-lightning", rev = "d6f87a44d0ee77a93094fca58dd5bd7349494a06" } +lightning-block-sync = { git = "https://github.com/moneydevkit/rust-lightning", rev = "d6f87a44d0ee77a93094fca58dd5bd7349494a06", features = ["rest-client", "rpc-client", "tokio"] } +lightning-transaction-sync = { git = "https://github.com/moneydevkit/rust-lightning", rev = "d6f87a44d0ee77a93094fca58dd5bd7349494a06", features = ["esplora-async-https", "time", "electrum-rustls-ring"] } +lightning-liquidity = { git = "https://github.com/moneydevkit/rust-lightning", rev = "d6f87a44d0ee77a93094fca58dd5bd7349494a06", features = ["std"] } +lightning-macros = { git = "https://github.com/moneydevkit/rust-lightning", rev = "d6f87a44d0ee77a93094fca58dd5bd7349494a06" } #lightning = { path = "../rust-lightning/lightning", features = ["std"] } #lightning-types = { path = "../rust-lightning/lightning-types" } @@ -100,8 +100,8 @@ winapi = { version = "0.3", features = ["winbase"] } [dev-dependencies] # lightning = { version = "0.2.0", features = ["std", "_test_utils"] } -# Branch: https://github.com/moneydevkit/rust-lightning/commits/lsp-0.2.0/ -lightning = { git = "https://github.com/moneydevkit/rust-lightning", rev = "bdcdf57de38baeabce4bf8486769bc60d0aa0f8d", features = ["std", "_test_utils"] } +# Branch: https://github.com/moneydevkit/rust-lightning/commits/lsp-0.2.5/ +lightning = { git = "https://github.com/moneydevkit/rust-lightning", rev = "d6f87a44d0ee77a93094fca58dd5bd7349494a06", features = ["std", "_test_utils"] } #lightning = { path = "../rust-lightning/lightning", features = ["std", "_test_utils"] } proptest = "1.0.0" regex = "1.5.6"