Commit Graph

19 Commits (8166d936e19a7e9dd500a616d67a6566f756072d)

Author SHA1 Message Date
carla 8166d936e1
multi: add opt-in automated swap dispatch to liquidity manager 4 years ago
carla 0212a41ed0
liquidity: make swap suggestions fee-aware 4 years ago
carla 1d8609bae3
liquidity: add sweep fee limit and confirmations to suggestions
To decide whether we event want to attempt a swap, we add a fee limit
that we check against our estimate for the current number of
confirmations we want our sweep to confirm in. If fees are higher than
this limit, we do not suggest swaps.
4 years ago
carla 7740231bac
liquidity: make swap suggestions aware of ongoing swaps 4 years ago
carla ad8b5d0552
liquidity: add clock for mocking time in tests 4 years ago
carla 7e9034b2ff
liquidity: return OutRequest from swap suggestions and set fees
This commit updates swap suggestions to return loop out requests with
sufficient fields populated so that a loop out can directly be
dispatched from a suggestion. This requires setting of fees an min
sweep conf targets (our htlc conf target and addresss will be set by
the daemon's client rpc server if we do not provide them). We also do
some test refactoring so that we can more easily test the suggest swaps
endpoint.
4 years ago
carla 340766fbb5
liquidity: add swap suggestions endpoint to manager 4 years ago
carla ce10cc7959
liquidity: add manager with updatable parameters 4 years ago
carla d7150d5556
loopd: add data, loop and config options 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 e696a38ec8
loopd: export Config struct 4 years ago
Joost Jager 27a2b1a775
loopd: fix setting of max parts 4 years ago
Joost Jager 5588876b48
loopd: extract client configuration 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.
4 years ago
Oliver Gugger ccdbc3b21b
multi: thread new config values through client 4 years ago
Johan T. Halseth 34c2e71f9e
loopd: move lnd services init to config
This allows us to supply custom lnd connections to the daemon.
4 years ago
Johan T. Halseth 2334816a59
lndclient: split NewLndServices to take gRPC dialer 4 years ago
Johan T. Halseth 644b5b16f7
cmd+loopd: move loopd to new folder loopd 4 years ago