lnd/docs/release-notes/release-notes-0.16.0.md
bitromortac 6aac2762b3
routing: stricter maxHTLC checks
We require channel updates to have the max HTLC message flag set.

Several flows need to pass that check before channel updates are
forwarded to peers:
* after channel funding: `addToRouterGraph`
* after receiving channel updates from a peer:
  `ProcessRemoteAnnouncement`
* after we update channel policies: `PropagateChanPolicyUpdate`
2023-02-21 14:03:51 +01:00

22 KiB

Release Notes

Peer to Peer Behavior

lnd will now properly prioritize sending out gossip updates generated locally to all connected peers, regardless of their current gossip sync query status.

BOLT Specs

  • Warning messages from peers are now recognized and logged by lnd.

  • Decrypt onion failure messages with a length greater than 256 bytes. This moves LND closer to being spec compliant.

  • Channel updates without the maxHTLC message flag set are recognized as invalid and are not relayed.

RPC

Wallet

Build

Invoices

  • Define a new InvoiceDB interface to be used in all the packages that need to interact with invoice data.

Misc

lncli

Code Health

Watchtowers

DB

Pathfinding

Configuration

  • Note that this pathfinding change introduces a breaking change in lnd.conf apriori parameters under the routing section, see sample-lnd.conf for an updated configuration. The behavior of lncli setmccfg/getmccfg is altered as well.

Tooling and documentation

Integration test

  • The lntest has been refactored to provide a better testing suite for writing integration tests. A new defined structure is implemented, please refer to README for more details. Along the way, several PRs(6776, 6822, 7172, 7242, 7245), 6823, 6824,) have been made to refactor the itest for code health and maintenance.

Contributors (Alphabetical Order)

  • Alejandro Pedraza
  • Alyssa Hertig
  • Andras Banki-Horvath
  • andreihod
  • Antoni Spaanderman
  • bitromortac
  • Carla Kirk-Cohen
  • Carsten Otto
  • Chris Geihsler
  • Conner Babinchak
  • cutiful
  • Daniel McNally
  • Elle Mouton
  • ErikEk
  • Eugene Siegel
  • Graham Krizek
  • hieblmi
  • Jesse de Wit
  • Joost Jager
  • Jordi Montes
  • lsunsi
  • Matt Morehouse
  • Michael Street
  • Olaoluwa Osuntokun
  • Oliver Gugger
  • Pierre Beugnet
  • Priyansh Rastogi
  • Robyn Ffrancon
  • Roei Erez
  • Tommy Volk
  • Yong Yu
  • Yusuke Shimizu
  • ziggie1984