Skip to content

Commit 36bffb5

Browse files
authored
Merge pull request #1629 from TheBlueMatt/2022-07-110
Cut 0.0.110
2 parents b84b53a + e10dfe4 commit 36bffb5

File tree

8 files changed

+77
-20
lines changed

8 files changed

+77
-20
lines changed

CHANGELOG.md

+57
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,60 @@
1+
# 0.0.110 - 2022-XXX
2+
3+
## API Updates
4+
* `ChannelManager::send_probe` and `Score::probe_{failed,successful}` have
5+
been added to make probing more explicit, as well as new
6+
`Event::Probe{Failed,Successful}` events (#1567).
7+
* `ProbabilisticScoringParameters::banned_nodes` has been renamed
8+
`manual_node_penalties` and changed to take msat penalties (#1592).
9+
* Per-payment tracking of failed paths was added to enable configuration of
10+
`ProbabilisticScoringParameters::considered_impossible_penalty_msat` (#1600)
11+
* `ProbabilisticScoringParameters::base_penalty_amount_multiplier_msat` was
12+
added to allow a penalty that is only amount-dependent (#1617).
13+
* `ProbabilisticScoringParameters::amount_penalty_multiplier_msat` was renamed
14+
`liquidity_penalty_amount_multiplier_msat` (#1617).
15+
* A new `Event::HTLCHandlingFailed` has been added which provides visibility
16+
into failures to forward/claim accepted HTLCs (#1403).
17+
* Support has been added for DNS hostnames in the `NetAddress` type, see
18+
[BOLT PR #911](https://github.com/lightning/bolts/pull/911) (#1553).
19+
* `GossipSync` now has `rapid`, `p2p`, and `none` constructors (#1618).
20+
* `lightning-net-tokio` no longer requires types to be in `Arc`s (#1623).
21+
* The `htlc_maximum_msat` field is now required in `ChannelUpdate` gossip
22+
messages. In tests this rejects < 1% of channels (#1519).
23+
* `ReadOnlyNetworkGraph::{channel,node}` have been added to query for
24+
individual channel/node data, primarily for bindings users (#1543).
25+
* `FeeEstimator` implementations are now wrapped internally to ensure values
26+
below 253 sats/kW are never used (#1552).
27+
* Route selection no longer attempts to randomize path selection. This is
28+
unlikely to lead to a material change in the paths selected (#1610).
29+
30+
## Bug Fixes
31+
* Fixed a panic when deserializing `ChannelDetails` objects (#1588).
32+
* When routing, channels are no longer fully saturated before MPP splits are
33+
generated, instead a configuration knob was added as
34+
`PaymentParameters::max_channel_saturation_power_of_half` (#1605).
35+
* Fixed a panic which occurred in `ProbabilisticScorer` when wallclock time
36+
goes backwards across a restart (#1603).
37+
38+
## Serialization Compatibility
39+
* All new fields are ignored by prior versions of LDK. All new fields are not
40+
present when reading objects serialized by prior versions of LDK.
41+
* Channel information written in the `NetworkGraph` which is missing
42+
`htlc_maximum_msat` may be dropped on deserialization (#1519).
43+
* Similarly, node information written in the `NetworkGraph` which contains an
44+
invalid hostname may be dropped on deserialization (#1519).
45+
46+
In total, this release features 79 files changed, 2935 insertions, 1363
47+
deletions in 52 commits from 9 authors, in alphabetical order:
48+
* Duncan Dean
49+
* Elias Rohrer
50+
* Jeffrey Czyz
51+
* Matt Corallo
52+
* Max Fang
53+
* Viktor Tigerström
54+
* Willem Van Lint
55+
* Wilmer Paulino
56+
* jurvis
57+
158
# 0.0.109 - 2022-07-01
259

360
## 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.109"
3+
version = "0.0.110"
44
authors = ["Valentine Wallace <[email protected]>"]
55
license = "MIT OR Apache-2.0"
66
repository = "http://github.com/lightningdevkit/rust-lightning"
@@ -15,10 +15,10 @@ rustdoc-args = ["--cfg", "docsrs"]
1515

1616
[dependencies]
1717
bitcoin = "0.28.1"
18-
lightning = { version = "0.0.109", path = "../lightning", features = ["std"] }
19-
lightning-rapid-gossip-sync = { version = "0.0.109", path = "../lightning-rapid-gossip-sync" }
18+
lightning = { version = "0.0.110", path = "../lightning", features = ["std"] }
19+
lightning-rapid-gossip-sync = { version = "0.0.110", path = "../lightning-rapid-gossip-sync" }
2020

2121
[dev-dependencies]
22-
lightning = { version = "0.0.109", path = "../lightning", features = ["_test_utils"] }
23-
lightning-invoice = { version = "0.17.0", path = "../lightning-invoice" }
24-
lightning-persister = { version = "0.0.109", path = "../lightning-persister" }
22+
lightning = { version = "0.0.110", path = "../lightning", features = ["_test_utils"] }
23+
lightning-invoice = { version = "0.18.0", path = "../lightning-invoice" }
24+
lightning-persister = { version = "0.0.110", path = "../lightning-persister" }

lightning-block-sync/Cargo.toml

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

2020
[dependencies]
2121
bitcoin = "0.28.1"
22-
lightning = { version = "0.0.109", path = "../lightning" }
22+
lightning = { version = "0.0.110", path = "../lightning" }
2323
futures = { version = "0.3" }
2424
tokio = { version = "1.0", features = [ "io-util", "net", "time" ], optional = true }
2525
serde = { version = "1.0", features = ["derive"], optional = true }

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.17.0"
4+
version = "0.18.0"
55
authors = ["Sebastian Geisler <[email protected]>"]
66
documentation = "https://docs.rs/lightning-invoice/"
77
license = "MIT OR Apache-2.0"
@@ -20,7 +20,7 @@ std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std", "bech32/std"]
2020

2121
[dependencies]
2222
bech32 = { version = "0.8", default-features = false }
23-
lightning = { version = "0.0.109", path = "../lightning", default-features = false }
23+
lightning = { version = "0.0.110", path = "../lightning", default-features = false }
2424
secp256k1 = { version = "0.22", default-features = false, features = ["recovery", "alloc"] }
2525
num-traits = { version = "0.2.8", default-features = false }
2626
bitcoin_hashes = { version = "0.10", default-features = false }
@@ -29,6 +29,6 @@ core2 = { version = "0.3.0", default-features = false, optional = true }
2929
serde = { version = "1.0.118", optional = true }
3030

3131
[dev-dependencies]
32-
lightning = { version = "0.0.109", path = "../lightning", default-features = false, features = ["_test_utils"] }
32+
lightning = { version = "0.0.110", path = "../lightning", default-features = false, features = ["_test_utils"] }
3333
hex = "0.4"
3434
serde_json = { version = "1"}

lightning-net-tokio/Cargo.toml

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

1717
[dependencies]
1818
bitcoin = "0.28.1"
19-
lightning = { version = "0.0.109", path = "../lightning" }
19+
lightning = { version = "0.0.110", path = "../lightning" }
2020
tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "sync", "net", "time" ] }
2121

2222
[dev-dependencies]

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.109"
3+
version = "0.0.110"
44
authors = ["Valentine Wallace", "Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning/"
@@ -17,11 +17,11 @@ _bench_unstable = ["lightning/_bench_unstable"]
1717

1818
[dependencies]
1919
bitcoin = "0.28.1"
20-
lightning = { version = "0.0.109", path = "../lightning" }
20+
lightning = { version = "0.0.110", path = "../lightning" }
2121
libc = "0.2"
2222

2323
[target.'cfg(windows)'.dependencies]
2424
winapi = { version = "0.3", features = ["winbase"] }
2525

2626
[dev-dependencies]
27-
lightning = { version = "0.0.109", path = "../lightning", features = ["_test_utils"] }
27+
lightning = { version = "0.0.110", path = "../lightning", features = ["_test_utils"] }

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.109"
3+
version = "0.0.110"
44
authors = ["Arik Sosman <[email protected]>"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -13,8 +13,8 @@ Utility to process gossip routing data from Rapid Gossip Sync Server.
1313
_bench_unstable = []
1414

1515
[dependencies]
16-
lightning = { version = "0.0.109", path = "../lightning" }
16+
lightning = { version = "0.0.110", path = "../lightning" }
1717
bitcoin = { version = "0.28.1", default-features = false }
1818

1919
[dev-dependencies]
20-
lightning = { version = "0.0.109", path = "../lightning", features = ["_test_utils"] }
20+
lightning = { version = "0.0.110", path = "../lightning", features = ["_test_utils"] }

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.109"
3+
version = "0.0.110"
44
authors = ["Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning/"

0 commit comments

Comments
 (0)