mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-16 13:00:19 +02:00
3.5 KiB
3.5 KiB
Release Notes
- Bug Fixes
- New Features
- Improvements
- Technical and Architectural Updates
- Contributors (Alphabetical Order)
Bug Fixes
-
Updated the
tormodule tov1.1.7so fresh nodes started with--tor.active --tor.v3create v3 onion services withNEW:ED25519-V3. Previously, the root module still resolvedtor v1.1.6, which could default new onion service creation to the retired v2NEW:RSA1024key type that modern Tor rejects with513 Invalid key type. -
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
⚠️ Warning: Deprecated fields in lnrpc.Hop will be removed in release version 0.22
⚠️ Warning: The deprecated fee rate option --sat_per_byte will be removed in release version 0.22
Technical and Architectural Updates
BOLT Spec Updates
Testing
Database
Code Health
Robustness
Tooling and Documentation
Contributors (Alphabetical Order)
- Erick Cestari
- Ziggie