mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 01:36:24 +01:00
lncfg+sample-lnd.conf: deprecate routing.assumechanvalid
This commit is contained in:
parent
368743c9cb
commit
6fe4114e96
2 changed files with 4 additions and 8 deletions
|
@ -2,5 +2,5 @@ package lncfg
|
|||
|
||||
// Routing holds the configuration options for routing.
|
||||
type Routing struct {
|
||||
AssumeChannelValid bool `long:"assumechanvalid" description:"Skip checking channel spentness during graph validation. This speedup comes at the risk of using an unvalidated view of the network for routing. (default: false)"`
|
||||
AssumeChannelValid bool `long:"assumechanvalid" description:"DEPRECATED: This is now turned on by default for Neutrino (use neutrino.validatechannels=true to turn off) and shouldn't be used for any other backend! (default: false)"`
|
||||
}
|
||||
|
|
|
@ -468,13 +468,9 @@ bitcoin.node=btcd
|
|||
; Neutrino is used. (default: false)
|
||||
; neutrino.validatechannels=false
|
||||
|
||||
; Skip checking channel spentness and existence during graph validation for
|
||||
; neutrino. Enabling this option means that neutrino nodes will not need to
|
||||
; perform long rescans which block initial usage of the daemon, but comes at
|
||||
; the cost of not validating channels in your routing graph. Skipping this
|
||||
; validation means that your node may have an incorrect view of the network
|
||||
; if it receives updates for closed or non-existent channels. This could affect
|
||||
; routing, but funds are safu.
|
||||
; DEPRECATED: This is now turned on by default for Neutrino (use
|
||||
; neutrino.validatechannels=true to turn off) and shouldn't be used for any
|
||||
; other backend!
|
||||
; --routing.assumechanvalid=true
|
||||
|
||||
[Btcd]
|
||||
|
|
Loading…
Add table
Reference in a new issue