From af0265f8fa662a66ffa1be028e9883d1ebb7c35c Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Wed, 29 Aug 2018 19:05:38 -0700 Subject: [PATCH] config: add experimental assumechanvalid flag --- config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.go b/config.go index 32a5403d..4eadcf80 100644 --- a/config.go +++ b/config.go @@ -24,6 +24,7 @@ import ( "github.com/lightningnetwork/lnd/htlcswitch/hodl" "github.com/lightningnetwork/lnd/lncfg" "github.com/lightningnetwork/lnd/lnwire" + "github.com/lightningnetwork/lnd/routing" "github.com/lightningnetwork/lnd/tor" ) @@ -234,6 +235,8 @@ type config struct { NoChanUpdates bool `long:"nochanupdates" description:"If specified, lnd will not request real-time channel updates from connected peers. This option should be used by routing nodes to save bandwidth."` net tor.Net + + Routing *routing.Conf `group:"routing" namespace:"routing"` } // loadConfig initializes and parses the config using a config file and command @@ -692,6 +695,7 @@ func loadConfig() (*config, error) { } case "neutrino": // No need to get RPC parameters. + default: str := "%s: only btcd, bitcoind, and neutrino mode " + "supported for bitcoin at this time"