mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-13 12:32:48 +02:00
Master carries the release notes for 0.20.0 and 0.20.1, and the 0.21 line is complete through 0.21.2, but the 0.20 patch notes stopped being forward-ported after 0.20.1. Copy release-notes-0.20.2.md and release-notes-0.20.3.md over from v0.20.x-branch so master holds the full historical record. Both files are byte-identical to their counterparts on the release branch, and the 0.20.2 notes also match the content published at the v0.20.2-beta tag.
2.8 KiB
2.8 KiB
Release Notes
- Bug Fixes
- New Features
- Improvements
- Technical and Architectural Updates
- Contributors (Alphabetical Order)
Bug Fixes
- Fixed a panic in the
DNS fallback SRV lookup, which unconditionally type-asserted each DNS Answer
record to
*dns.SRVand crashed the daemon when the response contained a non-SRV record. Non-SRV records are now skipped, and an emptyLookupHostresult for the shim no longer triggers an out-of-bounds index.
- Fixed on-chain forward interceptor
settlement after the
incoming channel force closes. Held forwards are now tracked as off-chain or
on-chain entries, allowing an on-chain re-offer to replace the old off-chain
hold so settlement reaches the witness beacon. Go callers of the exported
htlcswitch.InterceptedPackettype should use the newDeadlinefield to distinguish off-chain auto-fail heights from on-chain settlement deadlines, orAutoFailHeight()if they only need the legacy flattened value.
New Features
Functional Enhancements
RPC Additions
lncli Additions
Improvements
Functional Updates
- lnd now validates the CLTV expiry of HTLCs at the final
hop. A final HTLC whose
CLTV expiry falls outside the node's receive policy is failed back, bringing
the final hop in line with the CLTV delta limits already enforced on the
forwarding path.
As part of this change, the channel policy
TimeLockDeltais now validated against LND's supported forwarding bounds: any node that previously set a per-channelTimeLockDeltagreater than2016(the maximum default value) will now have itsUpdateChannelPolicyrequest rejected, and must lower the value accordingly below the specified maximum.
RPC Updates
lncli Updates
Breaking Changes
Performance Improvements
Deprecations
Technical and Architectural Updates
BOLT Spec Updates
Testing
Database
Code Health
Tooling and Documentation
Contributors (Alphabetical Order)
- Erick Cestari
- Ziggie