Open peartobear opened 5 years ago
Which assets do you plan to trade? Multiple choices separated by comma.
1. BTC
2. LTC
3. ERC20(ETH)
4. ALL
Please choose: 1,3
You selected BTC, ETH-ERC20. Is that correct? [Y/n]
Also moving this one to the next project.
Persisted in $NETWORK.conf
as boolean for each asset .Default is ALL
, user is only asked once, if script is exited or any other sort of error occurs, default (all 1) is set and script continues.
one more suggestion: We can use cmd params approach that we use with optional containers:
--arby.disabled [ARBY.DISABLED]
--boltz.disabled [BOLTZ.DISABLED]
--webui.disabled [WEBUI.DISABLED]
--lndltc.enbaled false (true as default) --lndbtc.enbaled false (true as default) --connext.enbaled false (true as default)
Bumping this issue as it's annoying to run litecoind and lnd-ltc when I have no interest in using them.
one more suggestion: We can use cmd params approach that we use with optional containers:
--arby.disabled [ARBY.DISABLED] --boltz.disabled [BOLTZ.DISABLED] --webui.disabled [WEBUI.DISABLED]
--lndltc.enbaled false (true as default) --lndbtc.enbaled false (true as default) --connext.enbaled false (true as default)
Actually thinking about this again - this might not be the best option since cli paramters are supposed to be temporary, whereas the selection here is more permanent. I think https://github.com/ExchangeUnion/xud-docker/issues/140#issuecomment-548080872 is the better way for now.
The xud dependency to initialize swap client at a later point in time finally has a PR: https://github.com/ExchangeUnion/xud/pull/1961
This allows us to do the following in the course of this issue (best to split into several PRs):
--lndltc.enbaled false (true as default)
--lndbtc.enbaled false (true as default)
--connext.enbaled false (true as default)
Which assets do you plan to trade? Multiple choices separated by comma.
addcurrency
should detect that currency (e.g. LTC) is supported, pull lndltc container, start it and initialize via https://github.com/ExchangeUnion/xud/pull/1961We need this feature for Raspiblitz to start the environment with --lndltc.enbaled false
there.
Configuring docker to allow for easily customizable asset choice by picking and choosing nodes and chains to sync would not only save lot of syncing time for people running full nodes but would also allow for a more abstract interface for apps building on top of the deamon. For instance, someone not planning to trade LTC would choose to not sync the litecoin node.