mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-10 07:18:45 +02:00
routing: add strict pruning as new flag, default for neutrino
In this commit we add a new flag that controls if lnd will do strict zombie pruning or not. If true, then this will cause lnd to maintain a tighter graph as it wants both edges to always be live. We enable this by default for neutrino as without this, it's possible that a node never sees both edges begin disabled, so those edges are never actually pruned from the graph.
This commit is contained in:
@@ -489,6 +489,12 @@ bitcoin.node=btcd
|
||||
; other backend!
|
||||
; --routing.assumechanvalid=true
|
||||
|
||||
; If set to true, then we'll prune a channel if only a single edge is seen as
|
||||
; being stale. This results in a more compact channel graph, and also is helpful
|
||||
; for neutrino nodes as it means they'll only maintain edges where both nodes are
|
||||
; seen as being live from it's PoV.
|
||||
; --routing.strictgraphpruning=true
|
||||
|
||||
[Btcd]
|
||||
|
||||
; The base directory that contains the node's data, logs, configuration file,
|
||||
|
Reference in New Issue
Block a user