Networkstring`long:"network" description:"network to run on" choice:"regtest" choice:"testnet" choice:"mainnet" choice:"simnet"`
SwapServerstring`long:"swapserver" description:"swap server address host:port"`
TLSPathSwapSrvstring`long:"tlspathswapserver" description:"Path to swap server tls certificate. Only needed if the swap server uses a self-signed certificate."`
RPCListenstring`long:"rpclisten" description:"Address to listen on for gRPC clients"`
RESTListenstring`long:"restlisten" description:"Address to listen on for REST clients"`
CORSOriginstring`long:"corsorigin" description:"The value to send in the Access-Control-Allow-Origin header. Header will be omitted if empty."`
@ -49,7 +54,8 @@ type Config struct {
LoopOutMaxPartsuint32`long:"loopoutmaxparts" description:"The maximum number of payment parts that may be used for a loop out swap."`
Lnd*lndConfig`group:"lnd" namespace:"lnd"`
Proxystring`long:"proxy" description:"The host:port of a SOCKS proxy through which all connections to the swap server will be established over."`
ViewviewParameters`command:"view" alias:"v" description:"View all swaps in the database. This command can only be executed when loopd is not running."`