carla
1f5aeff45f
multi: unify default sweep/htlc conf targets
...
Create a HtlcConfTarget which is used as a default for quote
and loop in. Update loop out quote to use the existing var
rather than just 6 inline.
5 years ago
Andras Banki-Horvath
f4be20cc5e
loopd: add missing mutex unlock and fix subtle reace condition
5 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
Joost Jager
535e964ec9
loopdb: migrate loop in channel to last hop
...
A database field was already in place to allow channel selection for
loop in. Unfortunately this field, which contains a short channel id,
isn't easily usable for controlling the loop server payment. Because of
non-strict forwarding, it is only possible to constrain a route to a
specific last hop pubkey.
This commit converts the existing field into a pubkey field.
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
b694a76be0
looprpc+loopd: deprecate string ID
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
3e25bc3174
loopd+looprpc: add REST compatible status calls
5 years ago
Oliver Gugger
403b4097de
loopd: move global state into server state
5 years ago
Oliver Gugger
098e269fe6
loopd: add LSAT enabled server ports
5 years ago
Oliver Gugger
ccdbc3b21b
multi: thread new config values through client
5 years ago
Oliver Gugger
8aeeaefbaf
loopd+lsat: add LSAT cost configuration parameters
5 years ago
Johan T. Halseth
b2d1d99521
loopd call swapserver with SwapPublicationDeadline set
5 years ago
Johan T. Halseth
0a51bf4d2d
loopd: make lnd conn configurable
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
2334816a59
lndclient: split NewLndServices to take gRPC dialer
5 years ago
Johan T. Halseth
704bfff8f6
cmd+loopd: new cmd/loopd main method replacing the one now in ./loopd
...
This allows loopd to be used as a library by importing it and calling
Start.
5 years ago
Johan T. Halseth
644b5b16f7
cmd+loopd: move loopd to new folder loopd
5 years ago