Merge pull request #10102 from yyforyongyu/fix-UpdatesInHorizon

Catch bad gossip peer and fix `UpdatesInHorizon`
This commit is contained in:
Yong
2025-08-20 22:35:31 +08:00
committed by GitHub
12 changed files with 189 additions and 75 deletions

View File

@@ -38,6 +38,10 @@
messages in the dynamic commitment set.
- [Fixed](https://github.com/lightningnetwork/lnd/pull/10102) a case that we may
send unnecessary `channel_announcement` and `node_announcement` messages when
replying to a `gossip_timestamp_filter` query.
# New Features
* Use persisted [nodeannouncement](https://github.com/lightningnetwork/lnd/pull/8825)
@@ -95,6 +99,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