Skip to content

Commit 3f21996

Browse files
committed
Update release notes for 0.0.111
1 parent 8ce1b48 commit 3f21996

File tree

3 files changed

+93
-2
lines changed

3 files changed

+93
-2
lines changed

CHANGELOG.md

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,96 @@
1+
# 0.0.111 - 2022-09-09 - "Saturated with Messages"
2+
3+
## API Updates
4+
* Support for relaying onion messages has been added via a new
5+
`OnionMessenger` struct when passed as the `OnionMessageHandler` to a
6+
`PeerManager`. Pre-encoded onion messages can also be sent and received
7+
(#1503, #1650, #1652, #1688).
8+
* Rate-limiting of outbound gossip syncs has been rewritten to utilize less
9+
buffering inside LDK. The new rate-limiting is also used for onion messages
10+
to avoid delaying other messages (#1604. #1660, #1683).
11+
* Rather than spawning a full OS thread, `lightning-background-processor` has
12+
a new `process_events_async` method which takes the place of a
13+
`BackgroundProcessor` for those using Rust's async (#1657).
14+
* `ChannelManager::get_persistable_update_future` has been added to block on
15+
a ChannelManager needing re-persistence in a Rust async environment (#1657).
16+
* The `Filter::register_output` return value has been removed, as it was
17+
very difficult to correctly implement (i.e., without blocking). Users
18+
previously using it should instead pass dependent transactions in via new
19+
`chain::Confirm::transactions_confirmed` calls (#1663).
20+
* `ChannelHandshakeConfig::their_channel_reserve_proportional_millionths` has
21+
been added to allow configuring counterparty reserve values (#1619).
22+
* `KeysInterface::ecdh` has been added as an ECDH oracle (#1503, #1658).
23+
* The `rust-bitcoin` dependency has been updated 0.29 (#1658).
24+
* The `bitcoin_hashes` dependency has been updated 0.11 (#1677).
25+
* `ChannelManager::broadcast_node_announcement` has been moved to
26+
`PeerManager` (#1699).
27+
* `channel_` and `node_announcement`s are now rebroadcast automatically to all
28+
new peers which connect (#1699).
29+
* `{Init,Node}Features` sent to peers/broadcasted are now fetched via the
30+
various `*MessageHandler` traits, rather than hard-coded (#1701, #1688).
31+
* `Event::PaymentPathFailed::rejected_by_dest` has been renamed
32+
`payment_failed_permanently` (#1702).
33+
* `Invoice` now derives the std `Hash` trait (#1575).
34+
* `chain::AccessError` now derives the std `Debug` trait (#1709).
35+
* `ReadOnlyNetworkGraph::list_{channels,nodes}` have been added largely for
36+
users of downstream bindings (#1651).
37+
* `ChannelMonitor::get_counterparty_node_id` is now available (#1635).
38+
39+
## Bug Fixes
40+
* The script compared with that returned from `chain::Access` was incorrect
41+
~half of the time, causing spurious gossip rejection (#1666).
42+
* Pending in-flight HTLCs are now considered when calculating new routes,
43+
ensuring, e.g. MPP retries do not take known-saturated paths (#1643).
44+
* Counterparty-revoked outputs are now included in `get_claimable_balance`
45+
output via a new `Balance::CounterpartyRevokedOutputClaimable` (#1495).
46+
* Inbound HTLCs for which we do not (yet) have a preimage are now included in
47+
`get_claimable_balance` via a `Balance::MaybePreimageClaimableHTLC` (#1673).
48+
* Probes that fail prior to being sent over their first hop are correctly
49+
failed with a `Event::ProbeFailed` rather than a `PaymentPathFailed` (#1704).
50+
* Pending `Event::HTLCHandlingFailed`s are no longer lost on restart (#1700).
51+
* HTLCs that fail prior to being sent over their first hop are now marked as
52+
retryable via `!PaymentPathFailed::payment_failed_permanently` (#1702).
53+
* Dust HTLCs are now considered failed in the payment tracking logic after the
54+
commitment transaction confirms, allowing retry on restart (#1691).
55+
* On machines with buggy "monotonic" clocks, LDK will no longer panic if time
56+
goes backwards (#1692).
57+
58+
## Backwards Compatibility
59+
* The new `current_time` argument to `PeerManager` constructors must be set to
60+
a UNIX timestamp for upgraded nodes, new nodes may use a counter (#1699).
61+
* `Balance::CounterpartyRevokedOutputClaimable` will never be generated for
62+
channels which were observed to go on-chain with LDK versions prior to
63+
0.0.111 (#1495).
64+
* `ChannelMonitor::get_counterparty_node_id` will return `None` for all
65+
channels opened on a version of LDK prior to 0.0.110 (#1635).
66+
* Setting `their_channel_reserve_proportional_millionths` to any value other
67+
than the default will cause LDK versions prior to 0.0.104 to be unable to
68+
read the serialized `ChannelManager` (#1619).
69+
70+
## Security
71+
0.0.111 fixes a denial-of-service vulnerability which is reachable from
72+
untrusted input in deployments accepting 0conf channels, or via a race-condition
73+
in deployments creating outbound 0conf channels.
74+
75+
* LDK versions prior to 0.0.111 may spuriously panic when receiving a block if
76+
they are awaiting the construction of a funding transaction for a 0-conf
77+
channel (#1711). 0-conf support was added in LDK version 0.0.107.
78+
79+
In total, this release features 81 files changed, 6075 insertions, 1924
80+
deletions in 101 commits from 11 authors, in alphabetical order:
81+
* Arik Sosman
82+
* Devrandom
83+
* Duncan Dean
84+
* Elias Rohrer
85+
* Gursharan Singh
86+
* Matt Corallo
87+
* NicolaLS
88+
* Valentine Wallace
89+
* Viktor Tigerström
90+
* jurvis
91+
* ok300
92+
93+
194
# 0.0.110 - 2022-07-26 - "Routing, With a Vengeance"
295

396
## API Updates

pending_changelog/.empty_folder

Whitespace-only changes.

pending_changelog/1699.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)