Skip to content

Commit 5592378

Browse files
authored
Merge pull request #2834 from TheBlueMatt/2024-01-cut-120
Cut 0.0.120
2 parents 871db63 + 37017ec commit 5592378

File tree

10 files changed

+75
-27
lines changed

10 files changed

+75
-27
lines changed

CHANGELOG.md

+48
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,51 @@
1+
# 0.0.120 - Jan 17, 2024 - "Blinded Fuzzers"
2+
3+
## API Updates
4+
* The `PeerManager` bound on `UtxoLookup` was removed entirely. This enables
5+
use of `UtxoLookup` in cases broken in 0.0.119 by #2773 (#2822).
6+
* LDK now exposes and fully implements the route blinding feature (#2812).
7+
* The `lightning-transaction-sync` crate no longer relies on system time
8+
without the `time` feature (#2799, #2817).
9+
* `lightning::onion_message`'s module layout has changed (#2821).
10+
* `Event::ChannelClosed` now includes the `channel_funding_txo` (#2800).
11+
* `CandidateRouteHop` variants were destructured into individual structs,
12+
hiding some fields which were not generally consumable (#2802).
13+
14+
## Bug Fixes
15+
* Fixed a rare issue where `lightning-net-tokio` may not fully flush its send
16+
buffer, leading to connection hangs (#2832).
17+
* Fixed a panic which may occur when connecting to a peer if we opened a second
18+
channel with that peer while they were disconnected (#2808).
19+
* Retries for a payment which previously failed in a blinded path will now
20+
always use an alternative blinded path (#2818).
21+
* `Feature`'s `Eq` and `Hash` implementation now ignore dummy bytes (#2808).
22+
* Some missing `DiscardFunding` or `ChannelClosed` events are now generated in
23+
rare funding-related failures (#2809).
24+
* Fixed a privacy issue in blinded path generation where the real
25+
`cltv_expiry_delta` would be exposed to senders (#2831).
26+
27+
## Security
28+
0.0.120 fixes a denial-of-service vulnerability which is reachable from
29+
untrusted input from peers if the `UserConfig::manually_accept_inbound_channels`
30+
option is enabled.
31+
* A peer that sent an `open_channel` message with the `channel_type` field
32+
unfilled would trigger a reachable `unwrap` since LDK 0.0.117 (#2808).
33+
* In protocols where a funding output is shared with our counterparty before
34+
it is given to LDK, a malicious peer could have caused a reachable panic
35+
by reusing the same funding info in (#2809).
36+
37+
In total, this release features 67 files changed, 3016 insertions, 2473
38+
deletions in 79 commits from 9 authors, in alphabetical order:
39+
* Elias Rohrer
40+
* Jeffrey Czyz
41+
* José A.P
42+
* Matt Corallo
43+
* Tibo-lg
44+
* Valentine Wallace
45+
* benthecarman
46+
* optout
47+
* shuoer86
48+
149
# 0.0.119 - Dec 15, 2023 - "Spring Cleaning for Christmas"
250

351
## API Updates

lightning-background-processor/Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-background-processor"
3-
version = "0.0.119"
3+
version = "0.0.120"
44
authors = ["Valentine Wallace <[email protected]>"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -22,11 +22,11 @@ default = ["std"]
2222

2323
[dependencies]
2424
bitcoin = { version = "0.30.2", default-features = false }
25-
lightning = { version = "0.0.119", path = "../lightning", default-features = false }
26-
lightning-rapid-gossip-sync = { version = "0.0.119", path = "../lightning-rapid-gossip-sync", default-features = false }
25+
lightning = { version = "0.0.120", path = "../lightning", default-features = false }
26+
lightning-rapid-gossip-sync = { version = "0.0.120", path = "../lightning-rapid-gossip-sync", default-features = false }
2727

2828
[dev-dependencies]
2929
tokio = { version = "1.35", features = [ "macros", "rt", "rt-multi-thread", "sync", "time" ] }
30-
lightning = { version = "0.0.119", path = "../lightning", features = ["_test_utils"] }
31-
lightning-invoice = { version = "0.27.0", path = "../lightning-invoice" }
32-
lightning-persister = { version = "0.0.119", path = "../lightning-persister" }
30+
lightning = { version = "0.0.120", path = "../lightning", features = ["_test_utils"] }
31+
lightning-invoice = { version = "0.28.0", path = "../lightning-invoice" }
32+
lightning-persister = { version = "0.0.120", path = "../lightning-persister" }

lightning-block-sync/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-block-sync"
3-
version = "0.0.119"
3+
version = "0.0.120"
44
authors = ["Jeffrey Czyz", "Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -20,11 +20,11 @@ rpc-client = [ "serde_json", "chunked_transfer" ]
2020
[dependencies]
2121
bitcoin = "0.30.2"
2222
hex = { package = "hex-conservative", version = "0.1.1", default-features = false }
23-
lightning = { version = "0.0.119", path = "../lightning" }
23+
lightning = { version = "0.0.120", path = "../lightning" }
2424
tokio = { version = "1.35", features = [ "io-util", "net", "time", "rt" ], optional = true }
2525
serde_json = { version = "1.0", optional = true }
2626
chunked_transfer = { version = "1.4", optional = true }
2727

2828
[dev-dependencies]
29-
lightning = { version = "0.0.119", path = "../lightning", features = ["_test_utils"] }
29+
lightning = { version = "0.0.120", path = "../lightning", features = ["_test_utils"] }
3030
tokio = { version = "1.35", features = [ "macros", "rt" ] }

lightning-custom-message/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-custom-message"
3-
version = "0.0.119"
3+
version = "0.0.120"
44
authors = ["Jeffrey Czyz"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -15,4 +15,4 @@ rustdoc-args = ["--cfg", "docsrs"]
1515

1616
[dependencies]
1717
bitcoin = "0.30.2"
18-
lightning = { version = "0.0.119", path = "../lightning" }
18+
lightning = { version = "0.0.120", path = "../lightning" }

lightning-invoice/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "lightning-invoice"
33
description = "Data structures to parse and serialize BOLT11 lightning invoices"
4-
version = "0.27.0"
4+
version = "0.28.0"
55
authors = ["Sebastian Geisler <[email protected]>"]
66
documentation = "https://docs.rs/lightning-invoice/"
77
license = "MIT OR Apache-2.0"
@@ -21,14 +21,14 @@ std = ["bitcoin/std", "num-traits/std", "lightning/std", "bech32/std"]
2121

2222
[dependencies]
2323
bech32 = { version = "0.9.0", default-features = false }
24-
lightning = { version = "0.0.119", path = "../lightning", default-features = false }
24+
lightning = { version = "0.0.120", path = "../lightning", default-features = false }
2525
secp256k1 = { version = "0.27.0", default-features = false, features = ["recovery", "alloc"] }
2626
num-traits = { version = "0.2.8", default-features = false }
2727
hashbrown = { version = "0.8", optional = true }
2828
serde = { version = "1.0.118", optional = true }
2929
bitcoin = { version = "0.30.2", default-features = false }
3030

3131
[dev-dependencies]
32-
lightning = { version = "0.0.119", path = "../lightning", default-features = false, features = ["_test_utils"] }
32+
lightning = { version = "0.0.120", path = "../lightning", default-features = false, features = ["_test_utils"] }
3333
hex = { package = "hex-conservative", version = "0.1.1", default-features = false }
3434
serde_json = { version = "1"}

lightning-net-tokio/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-net-tokio"
3-
version = "0.0.119"
3+
version = "0.0.120"
44
authors = ["Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning/"
@@ -16,9 +16,9 @@ rustdoc-args = ["--cfg", "docsrs"]
1616

1717
[dependencies]
1818
bitcoin = "0.30.2"
19-
lightning = { version = "0.0.119", path = "../lightning" }
19+
lightning = { version = "0.0.120", path = "../lightning" }
2020
tokio = { version = "1.35", features = [ "rt", "sync", "net", "time" ] }
2121

2222
[dev-dependencies]
2323
tokio = { version = "1.35", features = [ "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
24-
lightning = { version = "0.0.119", path = "../lightning", features = ["_test_utils"] }
24+
lightning = { version = "0.0.120", path = "../lightning", features = ["_test_utils"] }

lightning-persister/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-persister"
3-
version = "0.0.119"
3+
version = "0.0.120"
44
authors = ["Valentine Wallace", "Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -15,7 +15,7 @@ rustdoc-args = ["--cfg", "docsrs"]
1515

1616
[dependencies]
1717
bitcoin = "0.30.2"
18-
lightning = { version = "0.0.119", path = "../lightning" }
18+
lightning = { version = "0.0.120", path = "../lightning" }
1919

2020
[target.'cfg(windows)'.dependencies]
2121
windows-sys = { version = "0.48.0", default-features = false, features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }
@@ -24,5 +24,5 @@ windows-sys = { version = "0.48.0", default-features = false, features = ["Win32
2424
criterion = { version = "0.4", optional = true, default-features = false }
2525

2626
[dev-dependencies]
27-
lightning = { version = "0.0.119", path = "../lightning", features = ["_test_utils"] }
27+
lightning = { version = "0.0.120", path = "../lightning", features = ["_test_utils"] }
2828
bitcoin = { version = "0.30.2", default-features = false }

lightning-rapid-gossip-sync/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-rapid-gossip-sync"
3-
version = "0.0.119"
3+
version = "0.0.120"
44
authors = ["Arik Sosman <[email protected]>"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -15,11 +15,11 @@ no-std = ["lightning/no-std"]
1515
std = ["lightning/std"]
1616

1717
[dependencies]
18-
lightning = { version = "0.0.119", path = "../lightning", default-features = false }
18+
lightning = { version = "0.0.120", path = "../lightning", default-features = false }
1919
bitcoin = { version = "0.30.2", default-features = false }
2020

2121
[target.'cfg(ldk_bench)'.dependencies]
2222
criterion = { version = "0.4", optional = true, default-features = false }
2323

2424
[dev-dependencies]
25-
lightning = { version = "0.0.119", path = "../lightning", features = ["_test_utils"] }
25+
lightning = { version = "0.0.120", path = "../lightning", features = ["_test_utils"] }

lightning-transaction-sync/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-transaction-sync"
3-
version = "0.0.119"
3+
version = "0.0.120"
44
authors = ["Elias Rohrer"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -23,15 +23,15 @@ electrum = ["electrum-client"]
2323
async-interface = []
2424

2525
[dependencies]
26-
lightning = { version = "0.0.119", path = "../lightning", default-features = false, features = ["std"] }
26+
lightning = { version = "0.0.120", path = "../lightning", default-features = false, features = ["std"] }
2727
bitcoin = { version = "0.30.2", default-features = false }
2828
bdk-macros = "0.6"
2929
futures = { version = "0.3", optional = true }
3030
esplora-client = { version = "0.6", default-features = false, optional = true }
3131
electrum-client = { version = "0.18.0", optional = true }
3232

3333
[dev-dependencies]
34-
lightning = { version = "0.0.119", path = "../lightning", default-features = false, features = ["std", "_test_utils"] }
34+
lightning = { version = "0.0.120", path = "../lightning", default-features = false, features = ["std", "_test_utils"] }
3535
tokio = { version = "1.35.0", features = ["full"] }
3636

3737
[target.'cfg(not(no_download))'.dev-dependencies]

lightning/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning"
3-
version = "0.0.119"
3+
version = "0.0.120"
44
authors = ["Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning/"

0 commit comments

Comments
 (0)