sweep: remove conflicted sweep txns from the rebroadcaster
4.1 KiB
Release Notes
Routing
- The default CLTV delta delay has been increased from 40 blocks to 80 blocks.
Wallet
- The logging around transaction broadcast failures has been improved by always logging the causing error and the raw transaction as hex.
lncli
-
The
lncli wallet psbt fund
command now allows users to specify the--min_confs
flag. -
Add time_lock_delta overflow check for UpdateChannelPolicy that ensure
time_lock_delta
is greater or equal than0
and less or equal than65535
-
Added ability to backup, verify and restore single channels to and from a file on disk.
-
Add a
fundmax
flag toopenchannel
to allow for the allocation of all funds in a wallet towards a new channel opening.
Watchtowers
- Fix Address iterator panic
- Allow caller to filter sessions at the time of reading them from disk
- Clean up sessions once all channels for which they have updates for are
closed. Also start sending the
DeleteSession
message to the tower. - Don't load exhausted sessions when not
needed. Also add a new
exclude_exhausted_sessions
boolean flag to the relevant lncli wtclient commands. - Recover from StateUpdateCodeClientBehind error after data loss.
Build
Misc
-
Return
FEE_INSUFFICIENT
before checking balance for incoming low-fee HTLCs.. -
Optimize script allocation size in order to save memory.
-
When resolving outgoing HTLCs onchain, the HTLC timeout resolver will now monitor mempool for faster preimage extraction.
Spec
RPC
-
A debug log has been added to
lnrpc
so the node operator can know whether a certain request has happened or not. -
Message
funding_locked
has been renamed tochannel_ready
internally to match the specs update. This should not change anything for the users since the message type(36) stays unchanged, except in the logging all the appearance offunding_locked
replated experssion is replaced withchannel_ready
.
Bug Fixes
-
Fix a bug where lnd crashes when psbt data is not fully available.
-
Fix a bug where the funding manager would error out if no persisted initial forwarding policy is found for a channel.
-
The internal rebroacaster will no longer continue to rebroadcast stale sweeper transactions (have a conflict mined or in the mempool).
Contributors (Alphabetical Order)
- ardevd
- Elle Mouton
- hieblmi
- Oliver Gugger
- Olaoluwa Osuntokun
- Pierre Beugnet
- Tommy Volk
- Yong Yu
- ziggie1984