We need the ability to connect to a swap server that uses
a self-signed certificate. The LSAT proxy cannot proxy insecure
gRPC requests since they don't conform to the HTTP 1.1 standard.
Therefore the LSAT proxy fill only serve TLS connections.
This means, we need the TLS path option to specify the certificate
the test environment LSAT proxy uses.
Networkstring`long:"network" description:"network to run on" choice:"regtest" choice:"testnet" choice:"mainnet" choice:"simnet"`
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"`
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"`
RPCListenstring`long:"rpclisten" description:"Address to listen on for gRPC clients"`
RESTListenstring`long:"restlisten" description:"Address to listen on for REST clients"`
RESTListenstring`long:"restlisten" description:"Address to listen on for REST clients"`