From 6fe4114e96c6528b218b08a96998a58f999df499 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Tue, 30 Mar 2021 15:18:51 +0200 Subject: [PATCH] lncfg+sample-lnd.conf: deprecate routing.assumechanvalid --- lncfg/routing.go | 2 +- sample-lnd.conf | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/lncfg/routing.go b/lncfg/routing.go index 2eabb38e..8f62745f 100644 --- a/lncfg/routing.go +++ b/lncfg/routing.go @@ -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)"` } diff --git a/sample-lnd.conf b/sample-lnd.conf index e7be8971..5601fe66 100644 --- a/sample-lnd.conf +++ b/sample-lnd.conf @@ -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]