From 84532e27f984db511be36c312b8a0b2504ce50d4 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Thu, 31 Jul 2025 11:27:04 +0800 Subject: [PATCH] docs: add release notes for `ban-threshold` --- docs/release-notes/release-notes-0.20.0.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/release-notes/release-notes-0.20.0.md b/docs/release-notes/release-notes-0.20.0.md index 2885dc0d3..a37652700 100644 --- a/docs/release-notes/release-notes-0.20.0.md +++ b/docs/release-notes/release-notes-0.20.0.md @@ -96,6 +96,12 @@ circuit. The indices are only available for forwarding events saved after v0.20. a canceled invoice. Supports deleting a canceled invoice by providing its payment hash. +* A [new config](https://github.com/lightningnetwork/lnd/pull/10102) + `gossip.ban-threshold` is added to allow users to configure the ban score + threshold for peers. When a peer's ban score exceeds this value, they will be + disconnected and banned. Setting the value to 0 effectively disables banning + by setting the threshold to the maximum possible value. + ## lncli Additions * [`lncli sendpayment` and `lncli queryroutes` now support the