LND v0.16.3-beta: Mempool Optimizations & Bug Fixes

"This release optimizes the new mempool watching logic (more efficient data structure, less cpu usage), and fixes *two* potential spurious force close vectors," said Lightning Labs CTO Olaoluwa Osuntokun.

LND v0.16.3-beta: Mempool Optimizations & Bug Fixes
  • "This is the 3rd minor release in the 0.16.3 release."
  • "This release contains only bug fixes and is intended to optimize the recently added mempool watching logic, and also fix several suspected inadvertent force close vectors."
  • "We recommend that all nodes update to the final release!"

Release notes

  • Mempool Optimizations: Optimized mempool management to lower the CPU usage.
  • Misc: Re-encrypt/regenerate all macaroon DB root keys on ChangePassword/GenerateNewRootKey respectively.
  • Channel Link Bug Fix: "If we detect the remote link is inactive, we'll now tear down the connection in addition to stopping the link's statemachine. If we're persistently connected with the peer, then this'll force a reconnect, which may restart things and help avoid certain force close scenarios."
  • Consistent Contract Resolution: "If lnd decides to go to chain for an HTLC, it will now always ensure the HTLC is fully swept on the outgoing link. Prior logic would avoid sweeping due to negative yield, but combined with other inputs, the HTLC will usually be positive yield."
  • For more info, click here.

Contributors (Alphabetical Order)

  • Elle Mouton
  • Olaoluwa Osuntokun
  • Yong Yu

GitHub Repo
More Details / Archive