release-notes-0.16.1.md
1 # Release Notes 2 3 ## Routing 4 5 * The default CLTV delta delay [has been increased from 40 blocks to 80 6 blocks](https://github.com/lightningnetwork/lnd/pull/7609). 7 8 ## Wallet 9 10 - The logging around transaction broadcast failures [has been improved by always 11 logging the causing error and the raw transaction as 12 hex](https://github.com/lightningnetwork/lnd/pull/7513). 13 14 ## `lncli` 15 16 * The `lncli wallet psbt fund` command now allows users to specify the 17 [`--min_confs` flag](https://github.com/lightningnetwork/lnd/pull/7510). 18 19 * [Add time_lock_delta overflow check for UpdateChannelPolicy](https://github.com/lightningnetwork/lnd/pull/7350) 20 that ensure `time_lock_delta` is greater or equal than `0` and less or equal than `65535` 21 22 * [Added ability to backup, verify and 23 restore single channels](https://github.com/lightningnetwork/lnd/pull/7437) 24 to and from a file on disk. 25 26 * [Add a `fundmax` flag to `openchannel` to allow for the allocation of all 27 funds in a wallet](https://github.com/lightningnetwork/lnd/pull/6903) towards 28 a new channel opening. 29 30 ## Watchtowers 31 32 * [Fix Address iterator 33 panic](https://github.com/lightningnetwork/lnd/pull/7556) 34 * [Allow caller to filter sessions at the time of reading them from 35 disk](https://github.com/lightningnetwork/lnd/pull/7059) 36 * [Clean up sessions once all channels for which they have updates for are 37 closed. Also start sending the `DeleteSession` message to the 38 tower.](https://github.com/lightningnetwork/lnd/pull/7069) 39 * [Don't load exhausted sessions when not 40 needed](https://github.com/lightningnetwork/lnd/pull/7405). Also add a new 41 `exclude_exhausted_sessions` boolean flag to the relevant lncli wtclient 42 commands. 43 * [Recover from StateUpdateCodeClientBehind 44 error](https://github.com/lightningnetwork/lnd/pull/7541) after data loss. 45 46 ## Build 47 * [ldflags were being incorrectly passed]( 48 https://github.com/lightningnetwork/lnd/pull/7359) 49 50 ## Misc 51 52 * [Return `FEE_INSUFFICIENT` before checking balance for incoming low-fee 53 HTLCs.](https://github.com/lightningnetwork/lnd/pull/7490). 54 55 * Optimize script allocation size in order to save 56 [memory](https://github.com/lightningnetwork/lnd/pull/7464). 57 58 * When resolving outgoing HTLCs onchain, the HTLC timeout resolver will now 59 [monitor mempool](https://github.com/lightningnetwork/lnd/pull/7564) for 60 faster preimage extraction. 61 62 ## Spec 63 64 * [Add test vectors for 65 option_zero_fee_htlc_tx](https://github.com/lightningnetwork/lnd/pull/7439) 66 67 ## RPC 68 69 * A [debug log](https://github.com/lightningnetwork/lnd/pull/7514) has been 70 added to `lnrpc` so the node operator can know whether a certain request has 71 happened or not. 72 * [Add peer_scid_alias to the response of 73 `listchannels`](https://github.com/lightningnetwork/lnd/pull/7366) 74 75 * Message `funding_locked` [has been 76 renamed](https://github.com/lightningnetwork/lnd/pull/7517) to 77 `channel_ready` internally to match the specs update. This should not change 78 anything for the users since the message type(36) stays unchanged, except in 79 the logging all the appearance of `funding_locked` replated expression is 80 replaced with `channel_ready`. 81 82 ## Bug Fixes 83 84 * [Fix a bug where lnd crashes when psbt data is not fully 85 available](https://github.com/lightningnetwork/lnd/pull/7529). 86 87 * [Put back P2TR as default change type 88 in batch_open_channel](https://github.com/lightningnetwork/lnd/pull/7603). 89 90 * [Fix log output](https://github.com/lightningnetwork/lnd/pull/7604). 91 92 * [Channels opened with custom fee policies are now able to forward payments 93 correctly without needing to restart 94 first](https://github.com/lightningnetwork/lnd/pull/7597). 95 96 * [Fix a bug](https://github.com/lightningnetwork/lnd/pull/7613) where the 97 funding manager would error out if no persisted initial forwarding policy is 98 found for a channel. 99 100 * The internal rebroacaster [will no longer continue to rebroadcast stale 101 sweeper transactions (have a conflict mined or in the 102 mempool)](https://github.com/lightningnetwork/lnd/pull/7599). 103 104 105 # Contributors (Alphabetical Order) 106 107 * ardevd 108 * Elle Mouton 109 * hieblmi 110 * Oliver Gugger 111 * Olaoluwa Osuntokun 112 * Pierre Beugnet 113 * Tommy Volk 114 * Yong Yu 115 * ziggie1984