lnd.xprv/docs/release-notes/release-notes-0.13.1.md
2021-07-08 14:34:16 +02:00

4.7 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.

Wallet Unlocking

A new flag has been added to permit users to set the new password file config while at the same time, allowing lnd to start up and accept new wallet initialization/creation via the RPC interface. The new wallet-unlock-allow-create option instructs lnd to not fail if no wallet exists yet but instead spin up its unlocker RPC as it would without the wallet-unlock-password-file being present. This is not recommended for auto-provisioned or high-security systems because the wallet creation RPC is unauthenticated and an attacker could inject a seed while lnd is in that state.

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.

The abandonchannel RPC call can now be used without the dev build tag. A new flag --i_know_what_i_am_doing must be specified when using the call without the dev build tag active.

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.

A bug has been fixed that would previously cause any HTLCs settled using the HltcInteceptor API calls to always be re-forwarded on start up.

A bug has been fixed in the parameter parsing for the lncli PSBT funding call. Prior to this bug fix, the sat/vb param was ignored due to a default value for conf_target.

A bug has been fixed that would prevent nodes that had anchor channels opening from accepting any new inbound "legacy" channels.

A bug has been fixed cause an lncli command to fail with on opaque error when the referenced TLS cert file doesn't exist.

When lnd receives an HTLC failure message sourced from a private channel, we'll now properly apply the update to the internal hop hints using during path finding.

A regression has been fixed that caused keysend payments on the "legacy" RPC server to fail due to newly added AMP logic.

The ListLeases call that was introduced in 0.13.0 also listed leases that were already expired. Only when lnd is restarted, these leases were cleaned up. We now filter out the expired leases.

Contributors (Alphabetical Order)

bluetegu Bjarne Magnussen Carla Kirk-Cohen Carsten Otto ErikEk Eugene Seigel de6df1re Joost Jager Juan Pablo Civile Linus Curiel Xanon Olaoluwa Osuntokun Oliver Gugger Randy McMillan Vincent Woo Wilmer Paulino Yong Yu