Oliver Gugger
617964e25f
loopd: allow loopd to be used as external subserver
...
When loopd runs in the same process as lnd (in LiT), it hooks itself
into lnd's RPC server as an external subserver. But because the user
should still be able to use the default loop macaroon, the loop daemon
must be able to validate its own macaroons as lnd's macaroon service
doesn't know the root key for it.
4 years ago
Oliver Gugger
751c70e6c7
loopd: add macaroon authentication to the daemon's server connection
...
To secure access to loop's RPC server, we add a macaroon authentication
service and its gRPC interceptors to the daemon's server connection.
4 years ago
Oliver Gugger
a8d93bec6a
loopd: add TLS to the daemon's server connection
4 years ago
Oliver Gugger
17e0165d4c
loopd: add TLS config to listenerCfg struct
...
As a preparation to be able to listen on a TLS enabled listener, we add
a TLS config parameter to the listener setup functions.
4 years ago
carla
ce10cc7959
liquidity: add manager with updatable parameters
4 years ago
Joost Jager
0c9fcd790e
lndclient: move to github.com/lightninglabs/lndclient
4 years ago
Joost Jager
b61b886c16
loopd: group and clarify swap server parameters
4 years ago
Oliver Gugger
774a44fac1
loopd: add StartAsSubserver method and started flag
4 years ago
Oliver Gugger
506d0c2257
loopd: refactor into Start/Stop methods
4 years ago
Oliver Gugger
215e5b99d6
loopd: extract daemon into struct
4 years ago
Oliver Gugger
e696a38ec8
loopd: export Config struct
4 years ago
Wilmer Paulino
5b732d9012
loopd: add SOCKS proxy config option to dial swap server over Tor
...
This allows Loop users to further improve their privacy by not revealing
their source IP address. Note that the identity of the lnd node behind
Loop can still be revealed when performing a Loop In due to the swap
server extending an off-chain HTLC to the user.
Onion addresses don't yet exist for the swap servers, but they will be
added at a later time.
5 years ago
Oliver Gugger
ae376a49ba
loopd: fix linter issue
5 years ago
Oliver Gugger
8c7eee2ba9
loopd: add option to configure CORS origin
5 years ago
Oliver Gugger
26c0c17dbd
loopd+cli: set max gRPC message receive size
5 years ago
Oliver Gugger
e070494565
loopd: instruct REST proxy to print default values
5 years ago
Oliver Gugger
403b4097de
loopd: move global state into server state
5 years ago
Oliver Gugger
ccdbc3b21b
multi: thread new config values through client
5 years ago
Johan T. Halseth
34c2e71f9e
loopd: move lnd services init to config
...
This allows us to supply custom lnd connections to the daemon.
5 years ago
Johan T. Halseth
c7e8c9f964
loopd: make RPC listener configurable
...
Allows to use external listener, such as in-memory.
5 years ago
Johan T. Halseth
0f0573c047
loopd/daemon: make server gRPC/REST listeners configurable
5 years ago
Johan T. Halseth
391ae9dc6b
loopd/daemon: handle proxy error
...
Check returned error to make linter happy.
5 years ago
Johan T. Halseth
644b5b16f7
cmd+loopd: move loopd to new folder loopd
5 years ago