lnd/docs/release-notes/release-notes-0.20.1.md

6.6 KiB

Release Notes

Bug Fixes

New Features

Functional Enhancements

RPC Additions

lncli Additions

Improvements

Functional Updates

  • Added panic recovery to the gossiper's message processing goroutines. This increases the robustness of the gossiper subsystem by allowing it to continue operating even if a logic error causes a panic during message processing. The recovery mechanism ensures dependencies are properly freed and logs the panic trace for debugging.

RPC Updates

  • The EstimateRouteFee RPC now implements an LSP detection heuristic that probes up to 3 unique Lightning Service Providers when route hints indicate an LSP setup. The implementation returns worst-case (most expensive) fee estimates for conservative budgeting and includes griefing protection by limiting the number of probed LSPs. It enhances the previous LSP design by being more generic and more flexible.

lncli Updates

Breaking Changes

Performance Improvements

  • Added new Postgres configuration options db.postgres.channeldb-with-global-lock and db.postgres.walletdb-with-global-lock to allow fine-grained control over database concurrency. The channeldb global lock defaults to false to enable concurrent access, while the wallet global lock defaults to true to maintain safe single-writer behavior until the wallet subsystem is fully concurrent-safe.

  • Modified the query for IsPublicV1Node to use UNION ALL instead of OR conditions in the WHERE clause, improving performance when checking for public nodes especially in large graphs when using SQL backends.

Deprecations

Technical and Architectural Updates

BOLT Spec Updates

  • Enforce non-zero timestamps for channel_update (as required by BOLT 7) and node_announcement messages. Gossip messages with zero timestamps are now rejected. For channel_update messages, remote peers sending such invalid messages will have their ban score incremented.

Testing

Database

Code Health

Tooling and Documentation

Contributors (Alphabetical Order)

  • Abdulkbk
  • bitromortac
  • Matt Morehouse
  • Olaoluwa Osuntokun
  • Ziggie