mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-18 19:41:21 +02:00
Merge pull request #10102 from yyforyongyu/fix-UpdatesInHorizon
Catch bad gossip peer and fix `UpdatesInHorizon`
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user