mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 06:07:16 +01:00
multi: add new config ban-threshold
This commit is contained in:
@@ -1784,6 +1784,22 @@
|
||||
; See docs/gossip_rate_limiting.md for mor information.
|
||||
; gossip.filter-concurrency=5
|
||||
|
||||
; The score at which a peer is banned. Each time a peer sends a gossip message
|
||||
; that is considered invalid, its ban score is incremented. Once the score
|
||||
; reaches this threshold, the peer is banned for a default of 48 hours, and we
|
||||
; will no longer process gossip messages from them. This is a measure to
|
||||
; protect the node from spam and misbehaving peers.
|
||||
;
|
||||
; A gossip message can be considered invalid for several reasons, including:
|
||||
; - Invalid signature on the announcement.
|
||||
; - Stale timestamp, older than what we already have.
|
||||
; - Too many channel updates for the same channel in a short period.
|
||||
; - Announcing a channel that is not found on-chain.
|
||||
; - Announcing a channel that has already been closed.
|
||||
; - Announcing a channel with an invalid proof.
|
||||
;
|
||||
; gossip.ban-threshold=100
|
||||
|
||||
[invoices]
|
||||
|
||||
; If a hold invoice has accepted htlcs that reach their expiry height and are
|
||||
|
||||
Reference in New Issue
Block a user