/ docs / release-notes / release-notes-0.13.1.md
release-notes-0.13.1.md
  1  # Release Notes
  2  
  3  ## Peer to Peer Protocol
  4  
  5  Scripts received as part of an upfront shutdown script [are now properly
  6  sanitized](https://github.com/lightningnetwork/lnd/pull/5369) to ensure
  7  widespread relay of potential cooperative channel closures.
  8  
  9  ## Wallet Unlocking
 10  
 11  [A new flag has been added](https://github.com/lightningnetwork/lnd/pull/5457)
 12  to permit users to set the new password file config while at the same time,
 13  allowing `lnd` to start up and accept new wallet initialization/creation via the
 14  RPC interface. The new wallet-unlock-allow-create option instructs lnd to not
 15  fail if no wallet exists yet but instead spin up its unlocker RPC as it would
 16  without the wallet-unlock-password-file being present.  This is not recommended
 17  for auto-provisioned or high-security systems because the wallet creation RPC
 18  is unauthenticated and an attacker could inject a seed while lnd is in that
 19  state.
 20  
 21  ## RPC Server
 22  
 23  [The `Shutdown` command will now return an
 24  error](https://github.com/lightningnetwork/lnd/pull/5364) if one attempts to
 25  call the command while `lnd` is rescanning.
 26  
 27  New clients connecting/disconnecting to the transaction subscription stream
 28  [are now logged](https://github.com/lightningnetwork/lnd/pull/5358).
 29  
 30  [The `MinConfs` param is now properly examined if the `SendAll` param is
 31  set](https://github.com/lightningnetwork/lnd/pull/5200) for the `SendCoins` RPC
 32  call.
 33  
 34  [The `abandonchannel` RPC call can now be used without the `dev` build
 35  tag](https://github.com/lightningnetwork/lnd/pull/5335). A new flag
 36  `--i_know_what_i_am_doing` must be specified when using the call without the
 37  `dev` build tag active.
 38  
 39  ## Integration Test Improvements
 40  
 41  [A bug has been fixed in the `testChannelForceClosure`
 42  test](https://github.com/lightningnetwork/lnd/pull/5348) that would cause the
 43  test to assert the wrong balance (the miner fee wasn't accounted for).
 44  
 45  A bug has been [fixed](https://github.com/lightningnetwork/lnd/pull/5674) in 
 46  the `lntest` package that prevented multiple test harnesses to be created from 
 47  the same process.
 48  
 49  ## Forwarding Optimizations
 50  
 51  [Decoding onion blobs is now done in
 52  parallel](https://github.com/lightningnetwork/lnd/pull/5248) when decoding the
 53  routing information for several HTLCs as once.
 54  
 55  ## Build System
 56  
 57  The [`monitoring` build tag is now on by
 58  default](https://github.com/lightningnetwork/lnd/pull/5399) for all routine
 59  builds.
 60  
 61  ## Deadline Aware in Anchor Sweeping
 62  
 63  Anchor sweeping is now [deadline
 64  aware](https://github.com/lightningnetwork/lnd/pull/5148). Previously, all
 65  anchor sweepings use a default conf target of 6, which is likely to cause
 66  overpaying miner fees since the CLTV values of the HTLCs are far in the future.
 67  Brought by this update, the anchor sweeping (particularly local force close)
 68  will construct a deadline from its set of HTLCs, and use it as the conf target
 69  when estimating miner fees. The previous default conf target 6 is now changed
 70  to 144, and it's only used when there are no eligible HTLCs for deadline
 71  construction.
 72  
 73  ## Bug Fixes
 74  
 75  An optimization intended to speed up the payment critical path by
 76  eliminating an extra RPC call [has been
 77  reverted](https://github.com/lightningnetwork/lnd/pull/5404) as it
 78  introduced a regression that would cause payment failure due to mismatching
 79  heights.
 80  
 81  [A bug has been fixed that would previously cause any HTLCs settled using the
 82  `HltcInteceptor` API calls to always be re-forwarded on start
 83  up](https://github.com/lightningnetwork/lnd/pull/5280).
 84  
 85  [A bug has been fixed in the parameter parsing for the `lncli` PSBT funding
 86  call](https://github.com/lightningnetwork/lnd/pull/5441).  Prior to this bug
 87  fix, the sat/vb param was ignored due to a default value for `conf_target`.
 88  
 89  [A bug has been fixed that would prevent nodes that had anchor channels opening
 90  from accepting any new inbound "legacy"
 91  channels](https://github.com/lightningnetwork/lnd/pull/5428).
 92  
 93  [A bug has been fixed cause an `lncli` command to fail with on opaque error
 94  when the referenced TLS cert file doesn't
 95  exist](https://github.com/lightningnetwork/lnd/pull/5416).
 96  
 97  [When `lnd` receives an HTLC failure message sourced from a private channel,
 98  we'll now properly apply the update to the internal hop hints using during path
 99  finding](https://github.com/lightningnetwork/lnd/pull/5332).
100  
101  [A regression has been fixed that caused `keysend` payments on the "legacy" RPC
102  server to fail due to newly added AMP
103  logic](https://github.com/lightningnetwork/lnd/pull/5419).
104  
105  The `ListLeases` call that was introduced in 0.13.0 also listed leases that were
106  already expired. Only when `lnd` is restarted, these leases were cleaned up. We
107  now [filter out](https://github.com/lightningnetwork/lnd/pull/5472) the expired
108  leases.
109  
110  # Contributors (Alphabetical Order)
111  
112  bluetegu 
113  Bjarne Magnussen 
114  Carla Kirk-Cohen
115  Carsten Otto 
116  ErikEk 
117  Eugene Seigel
118  de6df1re 
119  Joost Jager 
120  Juan Pablo Civile 
121  Linus Curiel Xanon
122  Olaoluwa Osuntokun 
123  Oliver Gugger 
124  Randy McMillan 
125  Vincent Woo 
126  Wilmer Paulino 
127  Yong Yu