From 81419e72d197c90d25452fc67c849fd4814893fd Mon Sep 17 00:00:00 2001 From: Yang Yang Date: Fri, 19 Jun 2020 12:36:20 +0800 Subject: [PATCH] chore(lnd): disable autopilot (#553) --- images/lnd/0.10.1-beta/lnd.conf | 3 +++ images/lnd/0.9.0-beta-ltc/lnd.conf | 3 +++ images/utils/launcher/node/lnd.py | 2 ++ 3 files changed, 8 insertions(+) diff --git a/images/lnd/0.10.1-beta/lnd.conf b/images/lnd/0.10.1-beta/lnd.conf index 2e0192701..c3509543d 100644 --- a/images/lnd/0.10.1-beta/lnd.conf +++ b/images/lnd/0.10.1-beta/lnd.conf @@ -14,6 +14,9 @@ bitcoind.rpcpass=xu bitcoind.zmqpubrawblock=tcp://bitcoind:28332 bitcoind.zmqpubrawtx=tcp://bitcoind:28333 +[autopilot] +autopilot.active=false + [tor] tor.active=1 tor.socks=9050 diff --git a/images/lnd/0.9.0-beta-ltc/lnd.conf b/images/lnd/0.9.0-beta-ltc/lnd.conf index af63e48e8..3be248f22 100644 --- a/images/lnd/0.9.0-beta-ltc/lnd.conf +++ b/images/lnd/0.9.0-beta-ltc/lnd.conf @@ -14,6 +14,9 @@ litecoind.rpcpass=xu litecoind.zmqpubrawblock=tcp://litecoind:29332 litecoind.zmqpubrawtx=tcp://litecoind:29333 +[autopilot] +autopilot.active=false + [tor] tor.active=1 tor.socks=9050 diff --git a/images/utils/launcher/node/lnd.py b/images/utils/launcher/node/lnd.py index 0f91d84d7..608b819c0 100644 --- a/images/utils/launcher/node/lnd.py +++ b/images/utils/launcher/node/lnd.py @@ -57,6 +57,7 @@ def get_command(self): "--neutrino.connect=btcd.simnet.exchangeunion.com:38555", "--chan-enable-timeout=0m10s", "--max-cltv-expiry=5000", + "--autopilot.active=false", ] if self.chain == "litecoin": # nohup lnd-ltc --noseedbackup --rpclisten=127.0.0.1:10001 --listen=127.0.0.1:10011 --restlisten=8001 --datadir=./data --logdir=./logs --nobootstrap --no-macaroons --litecoin.active --litecoin.simnet --debuglevel=debug --alias="LTC@$xname" --litecoin.node neutrino --neutrino.connect btcd.simnet.exchangeunion.com:39555 --chan-enable-timeout=0m10s --max-cltv-expiry=20000 > /dev/null 2>&1 & @@ -73,6 +74,7 @@ def get_command(self): "--neutrino.connect=btcd.simnet.exchangeunion.com:39555", "--chan-enable-timeout=0m10s", "--max-cltv-expiry=20000", + "--autopilot.active=false", ] def get_environment(self):