ExchangeUnion / xud-docker

Streamlined setup of xud and all dependencies via docker 🐳
https://docs.exchangeunion.com
GNU Affero General Public License v3.0
5 stars 5 forks source link

Don't use conf files #405

Open kilrau opened 4 years ago

kilrau commented 4 years ago

Off-shoot from https://github.com/ExchangeUnion/xud-docker/pull/395#discussion_r406709215

How it is:

How it should be:

reliveyy commented 4 years ago

What about use --xud.options '--foo bar -abc' @kilrau

kilrau commented 4 years ago

Not sure I understand. xud-docker internally should use command line options only - lets start with lnds.

kilrau commented 4 years ago

Current major UX problem this solves : once light mode, always light mode: https://github.com/ExchangeUnion/xud-docker/issues/617

This is how lnd.conf looks like when trying to switch from light mode to full-mode.

rpclisten=0.0.0.0:10009
restlisten=0.0.0.0:8080
trickledelay=15000
max-cltv-expiry=5000
protocol.wumbo-channels=1

[Bitcoin]
bitcoin.active=1
bitcoin.node=neutrino

[neutrino]
neutrino.addpeer=bitcoin.michael1011.at:18333
neutrino.addpeer=btc.kilrau.com:18333

[routing]
routing.assumechanvalid=1

[Bitcoind]
bitcoind.rpchost=192.168.123.44
bitcoind.rpcuser=xu
bitcoind.rpcpass=xu
bitcoind.zmqpubrawblock=tcp://192.168.123.44:38332
bitcoind.zmqpubrawtx=tcp://192.168.123.44:38333

[autopilot]
autopilot.active=false

[tor]
tor.active=1
tor.socks=9050
tor.streamisolation=1