Skip to content

Commit a188f12

Browse files
committed
f additional things that were backported
1 parent 73c9cf2 commit a188f12

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
* `ChannelMonitorUpdate::update_id`s no longer have a magic value (of
3636
`u64::MAX`) for updates after a channel has been closed. They are now
3737
always monotonically increasing (#3355).
38+
* The MSRV of `lightning-transaction-sync` has been increased to rustc 1.75 due
39+
to its HTTP client dependencies (#3528).
3840
* The default `ProbabilisticScoringFeeParameters` values now recommend specific
3941
ratios between different penalties, and default penalties now allow for
4042
higher fees in order to reduce payment latency (#3495).
@@ -44,6 +46,9 @@
4446
requirements for nodes using anchor channels (#3340).
4547
* A `MigratableKVStore` trait was added (and implemented for
4648
`FilesystemStore`), enabling easy migration between `KVStore`s (#3481).
49+
* `InvoiceRequest::amount_msats` now returns the `offer`-implied amount if a
50+
Bitcoin-denominated amount was set in the `offer` and no amount was set
51+
directly in the `invoice_request` (#3535).
4752
* `Event::OpenChannelRequest::push_msat` has been replaced with an enum in
4853
preparation for the dual-funding protocol coming in a future release (#3137).
4954
* `GossipVerifier` now requires a `P2PGossipSync` which holds a reference to
@@ -78,6 +83,11 @@
7883
## Bug Fixes
7984
* Fixed a rare case where a BOLT 12 payment may be made duplicatively if the
8085
node crashes while processing a BOLT 12 `invoice` message (#3313).
86+
* Fixed a bug where a counterparty can cause funds of ours to be locked up
87+
by broadcasting a revoked commitment transaction and following HTLC
88+
transactions in specific formats when using an anchor channel. The funds can
89+
be recovered by upgrading to 0.1 and replaying the counterparty's broadcasted
90+
transactions (using `Confirm::transactions_confirmed`) (#3537).
8191
* Fixed a bug where a malicious sender could cause a payment `Event` to be
8292
generated with an `OfferId` using a payment with a lower amount than the
8393
corresponding BOLT 12 offer would have required. The amount in the
@@ -107,6 +117,9 @@
107117
delivered to peers even if the peer is behind in processing relayed gossip.
108118
This ensures our own gossip propagates well even if we have very limited
109119
upload bandwidth (#3142).
120+
* Fixed a bug where calling `OutputSweeper::transactions_confirmed` with
121+
transactions from anything but the latest block may have triggered a spurious
122+
assertion in debug mode (#3524).
110123

111124
## Performance Improvements
112125
* LDK now verifies `channel_update` gossip messages without holding a lock,
@@ -146,6 +159,13 @@
146159
will have `balance_msat` equal to `next_outbound_htlc_limit_msat` (#3243).
147160

148161
## Security
162+
0.1 fixes a funds-theft vulnerability when paying BOLT 12 offers.
163+
* When paying a BOLT 12 offer, if the recipient responds to our
164+
`invoice_request` with an `invoice` which had an amount different from the
165+
amount we intended to pay (either from the `offer` or the `amount_msats`
166+
passed to `ChannelManager::pay_for_offer`), LDK would pay the amount from the
167+
`invoice`. As a result, a malicious recipient could cause us to overpay the
168+
amount we intended to pay (#3535).
149169
* Various denial-of-service issues in the formerly-alpha `lightning-liquidity`
150170
crate have been addressed (#3436, #3493).
151171

0 commit comments

Comments
 (0)