lncfg+sample-lnd.conf: deprecate routing.assumechanvalid

This commit is contained in:
Oliver Gugger committed 2021-03-30 15:19:05 +02:00
1 parent 368743c9cb
commit 6fe4114e96
2 files changed
+4 -8

No files matched your search

+1 -1
View File
@@ -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)"`
}