lnd.xprv/docs/release-notes/release-notes-0.13.1.md
2021-06-29 20:30:58 +08:00

2.2 KiB

Release Notes

Peer to Peer Protocol

Scripts received as part of an upfront shutdown script are now properly sanitized to ensure widespread relay of potential cooperative channel closures.

RPC Server

The Shutdown command will now return an error if one attempts to call the command while lnd is rescanning.

New clients connecting/disconnecting to the transaction subscription stream are now logged.

The MinConfs param is now properly examined if the SendAll param is set for the SendCoins RPC call.

Integration Test Improvements

A bug has been fixed in the testChannelForceClosure test that would cause the test to assert the wrong balance (the miner fee wasn't accounted for).

Forwarding Optimizations

Decoding onion blobs is now done in parallel when decoding the routing information for several HTLCs as once.

Build System

The monitoring build tag is now on by default for all routine builds.

Deadline Aware in Anchor Sweeping

Anchor sweeping is now deadline aware. Previously, all anchor sweepings use a default conf target of 6, which is likely to cause overpaying miner fees since the CLTV values of the HTLCs are far in the future. Brought by this update, the anchor sweeping (particularly local force close) will construct a deadline from its set of HTLCs, and use it as the conf target when estimating miner fees. The previous default conf target 6 is now changed to 144, and it's only used when there are no eligible HTLCs for deadline construction.

Bug Fixes

An optimization intended to speed up the payment critical path by eliminating an extra RPC call has been reverted as it introduced a regression that would cause payment failure due to mismatching heights.

Contributors (Alphabetical Order)