Scripts received as part of an upfront shutdown script are now properly sanitized to ensure widespread relay of potential cooperative channel closures.
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.
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.
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).
A bug has been fixed in
the lntest
package that prevented multiple test harnesses to be created from
the same process.
Decoding onion blobs is now done in parallel when decoding the routing information for several HTLCs as once.
The monitoring
build tag is now on by
default for all routine
builds.
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.
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 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
.
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.
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