Skip to content

Commit 4938be6

Browse files
authored
Merge pull request #2427 from TheBlueMatt/2023-07-cut-116
Release 0.0.116
2 parents 0fadb54 + 983f2c1 commit 4938be6

File tree

10 files changed

+69
-32
lines changed

10 files changed

+69
-32
lines changed

CHANGELOG.md

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
# 0.0.116rc1 - Jul 14, 2023 - "Anchoring the Roadmap"
1+
# 0.0.116 - Jul 21, 2023 - "Anchoring the Roadmap"
22

33
## API Updates
44

55
* Support for zero-HTLC-fee anchor output channels has been added and is now
66
considered beta (#2367). Users who set
77
`ChannelHandshakeConfig::negotiate_anchors_zero_fee_htlc_tx` should be
88
prepared to handle the new `Event::BumpTransaction`, e.g. via the
9-
`BumpTransactionEventHandler` (#2089). Users who set the same and wish to
10-
accept inbound anchor-based channels must do so manually by setting
11-
`UserConfig::manually_accept_inbound_channels` (#2368).
9+
`BumpTransactionEventHandler` (#2089). Note that in order to do so you must
10+
ensure you always have a reserve of available unspent on-chain funds to use
11+
for CPFP. LDK currently makes no attempt to ensure this for you.
12+
* Users who set `ChannelHandshakeConfig::negotiate_anchors_zero_fee_htlc_tx`
13+
and wish to accept inbound anchor-based channels must do so manually by
14+
setting `UserConfig::manually_accept_inbound_channels` (#2368).
1215
* Support forwarding and accepting HTLCs with a reduced amount has been added,
1316
to support LSPs skimming a fee on the penultimate hop (#2319).
1417
* BOLT11 and BOLT12 Invoice and related types have been renamed to include a
@@ -120,6 +123,39 @@
120123
* `RouteHintHop::htlc_maximum_msat` is now enforced. Note that BOLT11 route
121124
hints do not have such a field so this code is generally unused (#2305).
122125

126+
## Security
127+
0.0.116 fixes a denial-of-service vulnerability which is reachable from
128+
untrusted input from channel counterparties if a 0-conf channel exists with
129+
that counterparty.
130+
* A premature `announcement_signatures` message from a peer prior to a 0-conf
131+
channel's funding transaction receiving any confirmations would panic in any
132+
version since 0-conf channels were introduced (#2439).
133+
134+
In total, this release features 142 files changed, 21033 insertions, 11066
135+
deletions in 327 commits from 21 authors, in alphabetical order:
136+
* Alec Chen
137+
* Andrei
138+
* Antoine Riard
139+
* Arik Sosman
140+
* Chad Upjohn
141+
* Daniel Granhão
142+
* Duncan Dean
143+
* Elias Rohrer
144+
* Fred Walker
145+
* Gleb Naumenko
146+
* Jeffrey Czyz
147+
* Martin Habovstiak
148+
* Matt Corallo
149+
* Tony Giorgio
150+
* Valentine Wallace
151+
* Vladimir Fomene
152+
* Willem Van Lint
153+
* Wilmer Paulino
154+
* benthecarman
155+
* ff
156+
* henghonglee
157+
158+
123159
# 0.0.115 - Apr 24, 2023 - "Rebroadcast the Bugfixes"
124160

125161
## API Updates
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-background-processor"
3-
version = "0.0.116-rc1"
3+
version = "0.0.116"
44
authors = ["Valentine Wallace <[email protected]>"]
55
license = "MIT OR Apache-2.0"
66
repository = "http://github.com/lightningdevkit/rust-lightning"
@@ -15,17 +15,18 @@ rustdoc-args = ["--cfg", "docsrs"]
1515

1616
[features]
1717
futures = [ ]
18-
std = ["lightning/std", "lightning-rapid-gossip-sync/std"]
18+
std = ["bitcoin/std", "lightning/std", "lightning-rapid-gossip-sync/std"]
19+
no-std = ["bitcoin/no-std", "lightning/no-std", "lightning-rapid-gossip-sync/no-std"]
1920

2021
default = ["std"]
2122

2223
[dependencies]
2324
bitcoin = { version = "0.29.0", default-features = false }
24-
lightning = { version = "0.0.116-rc1", path = "../lightning", default-features = false }
25-
lightning-rapid-gossip-sync = { version = "0.0.116-rc1", path = "../lightning-rapid-gossip-sync", default-features = false }
25+
lightning = { version = "0.0.116", path = "../lightning", default-features = false }
26+
lightning-rapid-gossip-sync = { version = "0.0.116", path = "../lightning-rapid-gossip-sync", default-features = false }
2627

2728
[dev-dependencies]
2829
tokio = { version = "1.14", features = [ "macros", "rt", "rt-multi-thread", "sync", "time" ] }
29-
lightning = { version = "0.0.116-rc1", path = "../lightning", features = ["_test_utils"] }
30-
lightning-invoice = { version = "0.24.0-rc1", path = "../lightning-invoice" }
31-
lightning-persister = { version = "0.0.116-rc1", path = "../lightning-persister" }
30+
lightning = { version = "0.0.116", path = "../lightning", features = ["_test_utils"] }
31+
lightning-invoice = { version = "0.24.0", path = "../lightning-invoice" }
32+
lightning-persister = { version = "0.0.116", path = "../lightning-persister" }

lightning-block-sync/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-block-sync"
3-
version = "0.0.116-rc1"
3+
version = "0.0.116"
44
authors = ["Jeffrey Czyz", "Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "http://github.com/lightningdevkit/rust-lightning"
@@ -19,11 +19,11 @@ rpc-client = [ "serde_json", "chunked_transfer" ]
1919

2020
[dependencies]
2121
bitcoin = "0.29.0"
22-
lightning = { version = "0.0.116-rc1", path = "../lightning" }
22+
lightning = { version = "0.0.116", path = "../lightning" }
2323
tokio = { version = "1.0", features = [ "io-util", "net", "time" ], optional = true }
2424
serde_json = { version = "1.0", optional = true }
2525
chunked_transfer = { version = "1.4", optional = true }
2626

2727
[dev-dependencies]
28-
lightning = { version = "0.0.116-rc1", path = "../lightning", features = ["_test_utils"] }
28+
lightning = { version = "0.0.116", path = "../lightning", features = ["_test_utils"] }
2929
tokio = { version = "1.14", features = [ "macros", "rt" ] }

lightning-custom-message/Cargo.toml

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

1616
[dependencies]
1717
bitcoin = "0.29.0"
18-
lightning = { version = "0.0.116-rc1", path = "../lightning" }
18+
lightning = { version = "0.0.116", path = "../lightning" }

lightning-invoice/Cargo.toml

Lines changed: 3 additions & 3 deletions
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.24.0-rc1"
4+
version = "0.24.0"
55
authors = ["Sebastian Geisler <[email protected]>"]
66
documentation = "https://docs.rs/lightning-invoice/"
77
license = "MIT OR Apache-2.0"
@@ -21,7 +21,7 @@ std = ["bitcoin_hashes/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.116-rc1", path = "../lightning", default-features = false }
24+
lightning = { version = "0.0.116", path = "../lightning", default-features = false }
2525
secp256k1 = { version = "0.24.0", default-features = false, features = ["recovery", "alloc"] }
2626
num-traits = { version = "0.2.8", default-features = false }
2727
bitcoin_hashes = { version = "0.11", default-features = false }
@@ -30,6 +30,6 @@ serde = { version = "1.0.118", optional = true }
3030
bitcoin = { version = "0.29.0", default-features = false }
3131

3232
[dev-dependencies]
33-
lightning = { version = "0.0.116-rc1", path = "../lightning", default-features = false, features = ["_test_utils"] }
33+
lightning = { version = "0.0.116", path = "../lightning", default-features = false, features = ["_test_utils"] }
3434
hex = "0.4"
3535
serde_json = { version = "1"}

lightning-net-tokio/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-net-tokio"
3-
version = "0.0.116-rc1"
3+
version = "0.0.116"
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.29.0"
19-
lightning = { version = "0.0.116-rc1", path = "../lightning" }
19+
lightning = { version = "0.0.116", path = "../lightning" }
2020
tokio = { version = "1.0", features = [ "io-util", "rt", "sync", "net", "time" ] }
2121

2222
[dev-dependencies]
2323
tokio = { version = "1.14", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
24-
lightning = { version = "0.0.116-rc1", path = "../lightning", features = ["_test_utils"] }
24+
lightning = { version = "0.0.116", path = "../lightning", features = ["_test_utils"] }

lightning-persister/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-persister"
3-
version = "0.0.116-rc1"
3+
version = "0.0.116"
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.29.0"
18-
lightning = { version = "0.0.116-rc1", path = "../lightning" }
18+
lightning = { version = "0.0.116", path = "../lightning" }
1919
libc = "0.2"
2020

2121
[target.'cfg(windows)'.dependencies]
@@ -25,4 +25,4 @@ winapi = { version = "0.3", features = ["winbase"] }
2525
criterion = { version = "0.4", optional = true, default-features = false }
2626

2727
[dev-dependencies]
28-
lightning = { version = "0.0.116-rc1", path = "../lightning", features = ["_test_utils"] }
28+
lightning = { version = "0.0.116", path = "../lightning", features = ["_test_utils"] }

lightning-rapid-gossip-sync/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-rapid-gossip-sync"
3-
version = "0.0.116-rc1"
3+
version = "0.0.116"
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.116-rc1", path = "../lightning", default-features = false }
18+
lightning = { version = "0.0.116", path = "../lightning", default-features = false }
1919
bitcoin = { version = "0.29.0", 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.116-rc1", path = "../lightning", features = ["_test_utils"] }
25+
lightning = { version = "0.0.116", path = "../lightning", features = ["_test_utils"] }

lightning-transaction-sync/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-transaction-sync"
3-
version = "0.0.116-rc1"
3+
version = "0.0.116"
44
authors = ["Elias Rohrer"]
55
license = "MIT OR Apache-2.0"
66
repository = "http://github.com/lightningdevkit/rust-lightning"
@@ -21,15 +21,15 @@ esplora-blocking = ["esplora-client/blocking"]
2121
async-interface = []
2222

2323
[dependencies]
24-
lightning = { version = "0.0.116-rc1", path = "../lightning", default-features = false }
24+
lightning = { version = "0.0.116", path = "../lightning", default-features = false }
2525
bitcoin = { version = "0.29.0", default-features = false }
2626
bdk-macros = "0.6"
2727
futures = { version = "0.3", optional = true }
2828
esplora-client = { version = "0.4", default-features = false, optional = true }
2929
reqwest = { version = "0.11", optional = true, default-features = false, features = ["json"] }
3030

3131
[dev-dependencies]
32-
lightning = { version = "0.0.116-rc1", path = "../lightning", features = ["std"] }
32+
lightning = { version = "0.0.116", path = "../lightning", features = ["std"] }
3333
electrsd = { version = "0.22.0", features = ["legacy", "esplora_a33e97e1", "bitcoind_23_0"] }
3434
electrum-client = "0.12.0"
3535
tokio = { version = "1.14.0", features = ["full"] }

lightning/Cargo.toml

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

0 commit comments

Comments
 (0)