Merge pull request #1629 from TheBlueMatt/2022-07-110

Cut 0.0.110
This commit is contained in:
Matt Corallo 2022-07-26 23:40:45 +00:00 committed by GitHub
commit 36bffb56e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 77 additions and 20 deletions

View file

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

View file

@ -1,6 +1,6 @@
[package] [package]
name = "lightning-background-processor" name = "lightning-background-processor"
version = "0.0.109" version = "0.0.110"
authors = ["Valentine Wallace <vwallace@protonmail.com>"] authors = ["Valentine Wallace <vwallace@protonmail.com>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "http://github.com/lightningdevkit/rust-lightning" repository = "http://github.com/lightningdevkit/rust-lightning"
@ -15,10 +15,10 @@ rustdoc-args = ["--cfg", "docsrs"]
[dependencies] [dependencies]
bitcoin = "0.28.1" bitcoin = "0.28.1"
lightning = { version = "0.0.109", path = "../lightning", features = ["std"] } lightning = { version = "0.0.110", path = "../lightning", features = ["std"] }
lightning-rapid-gossip-sync = { version = "0.0.109", path = "../lightning-rapid-gossip-sync" } lightning-rapid-gossip-sync = { version = "0.0.110", path = "../lightning-rapid-gossip-sync" }
[dev-dependencies] [dev-dependencies]
lightning = { version = "0.0.109", path = "../lightning", features = ["_test_utils"] } lightning = { version = "0.0.110", path = "../lightning", features = ["_test_utils"] }
lightning-invoice = { version = "0.17.0", path = "../lightning-invoice" } lightning-invoice = { version = "0.18.0", path = "../lightning-invoice" }
lightning-persister = { version = "0.0.109", path = "../lightning-persister" } lightning-persister = { version = "0.0.110", path = "../lightning-persister" }

View file

@ -1,6 +1,6 @@
[package] [package]
name = "lightning-block-sync" name = "lightning-block-sync"
version = "0.0.109" version = "0.0.110"
authors = ["Jeffrey Czyz", "Matt Corallo"] authors = ["Jeffrey Czyz", "Matt Corallo"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "http://github.com/lightningdevkit/rust-lightning" repository = "http://github.com/lightningdevkit/rust-lightning"
@ -19,7 +19,7 @@ rpc-client = [ "serde", "serde_json", "chunked_transfer" ]
[dependencies] [dependencies]
bitcoin = "0.28.1" bitcoin = "0.28.1"
lightning = { version = "0.0.109", path = "../lightning" } lightning = { version = "0.0.110", path = "../lightning" }
futures = { version = "0.3" } futures = { version = "0.3" }
tokio = { version = "1.0", features = [ "io-util", "net", "time" ], optional = true } tokio = { version = "1.0", features = [ "io-util", "net", "time" ], optional = true }
serde = { version = "1.0", features = ["derive"], optional = true } serde = { version = "1.0", features = ["derive"], optional = true }

View file

@ -1,7 +1,7 @@
[package] [package]
name = "lightning-invoice" name = "lightning-invoice"
description = "Data structures to parse and serialize BOLT11 lightning invoices" description = "Data structures to parse and serialize BOLT11 lightning invoices"
version = "0.17.0" version = "0.18.0"
authors = ["Sebastian Geisler <sgeisler@wh2.tu-dresden.de>"] authors = ["Sebastian Geisler <sgeisler@wh2.tu-dresden.de>"]
documentation = "https://docs.rs/lightning-invoice/" documentation = "https://docs.rs/lightning-invoice/"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
@ -20,7 +20,7 @@ std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std", "bech32/std"]
[dependencies] [dependencies]
bech32 = { version = "0.8", default-features = false } bech32 = { version = "0.8", default-features = false }
lightning = { version = "0.0.109", path = "../lightning", default-features = false } lightning = { version = "0.0.110", path = "../lightning", default-features = false }
secp256k1 = { version = "0.22", default-features = false, features = ["recovery", "alloc"] } secp256k1 = { version = "0.22", default-features = false, features = ["recovery", "alloc"] }
num-traits = { version = "0.2.8", default-features = false } num-traits = { version = "0.2.8", default-features = false }
bitcoin_hashes = { version = "0.10", default-features = false } bitcoin_hashes = { version = "0.10", default-features = false }
@ -29,6 +29,6 @@ core2 = { version = "0.3.0", default-features = false, optional = true }
serde = { version = "1.0.118", optional = true } serde = { version = "1.0.118", optional = true }
[dev-dependencies] [dev-dependencies]
lightning = { version = "0.0.109", path = "../lightning", default-features = false, features = ["_test_utils"] } lightning = { version = "0.0.110", path = "../lightning", default-features = false, features = ["_test_utils"] }
hex = "0.4" hex = "0.4"
serde_json = { version = "1"} serde_json = { version = "1"}

View file

@ -1,6 +1,6 @@
[package] [package]
name = "lightning-net-tokio" name = "lightning-net-tokio"
version = "0.0.109" version = "0.0.110"
authors = ["Matt Corallo"] authors = ["Matt Corallo"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "https://github.com/lightningdevkit/rust-lightning/" repository = "https://github.com/lightningdevkit/rust-lightning/"
@ -16,7 +16,7 @@ rustdoc-args = ["--cfg", "docsrs"]
[dependencies] [dependencies]
bitcoin = "0.28.1" bitcoin = "0.28.1"
lightning = { version = "0.0.109", path = "../lightning" } lightning = { version = "0.0.110", path = "../lightning" }
tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "sync", "net", "time" ] } tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "sync", "net", "time" ] }
[dev-dependencies] [dev-dependencies]

View file

@ -1,6 +1,6 @@
[package] [package]
name = "lightning-persister" name = "lightning-persister"
version = "0.0.109" version = "0.0.110"
authors = ["Valentine Wallace", "Matt Corallo"] authors = ["Valentine Wallace", "Matt Corallo"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "https://github.com/lightningdevkit/rust-lightning/" repository = "https://github.com/lightningdevkit/rust-lightning/"
@ -17,11 +17,11 @@ _bench_unstable = ["lightning/_bench_unstable"]
[dependencies] [dependencies]
bitcoin = "0.28.1" bitcoin = "0.28.1"
lightning = { version = "0.0.109", path = "../lightning" } lightning = { version = "0.0.110", path = "../lightning" }
libc = "0.2" libc = "0.2"
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["winbase"] } winapi = { version = "0.3", features = ["winbase"] }
[dev-dependencies] [dev-dependencies]
lightning = { version = "0.0.109", path = "../lightning", features = ["_test_utils"] } lightning = { version = "0.0.110", path = "../lightning", features = ["_test_utils"] }

View file

@ -1,6 +1,6 @@
[package] [package]
name = "lightning-rapid-gossip-sync" name = "lightning-rapid-gossip-sync"
version = "0.0.109" version = "0.0.110"
authors = ["Arik Sosman <git@arik.io>"] authors = ["Arik Sosman <git@arik.io>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "https://github.com/lightningdevkit/rust-lightning" repository = "https://github.com/lightningdevkit/rust-lightning"
@ -13,8 +13,8 @@ Utility to process gossip routing data from Rapid Gossip Sync Server.
_bench_unstable = [] _bench_unstable = []
[dependencies] [dependencies]
lightning = { version = "0.0.109", path = "../lightning" } lightning = { version = "0.0.110", path = "../lightning" }
bitcoin = { version = "0.28.1", default-features = false } bitcoin = { version = "0.28.1", default-features = false }
[dev-dependencies] [dev-dependencies]
lightning = { version = "0.0.109", path = "../lightning", features = ["_test_utils"] } lightning = { version = "0.0.110", path = "../lightning", features = ["_test_utils"] }

View file

@ -1,6 +1,6 @@
[package] [package]
name = "lightning" name = "lightning"
version = "0.0.109" version = "0.0.110"
authors = ["Matt Corallo"] authors = ["Matt Corallo"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "https://github.com/lightningdevkit/rust-lightning/" repository = "https://github.com/lightningdevkit/rust-lightning/"