2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-08 01:10:29 +00:00
Commit Graph

1492 Commits

Author SHA1 Message Date
Joost Jager
5588876b48
loopd: extract client configuration 2020-04-27 16:30:44 +02:00
Joost Jager
65375723b4
lndclient: upgrade to lnd v0.10.0-beta-rc5 2020-04-27 16:30:42 +02:00
Joost Jager
7cb914927f
looprpc: fix formatting 2020-04-27 15:43:32 +02:00
Oliver Gugger
e99202ced5
Merge pull request #181 from guggero/lnd-version-aware
Make loop aware of lnd's version
2020-04-24 11:11:47 +02:00
Oliver Gugger
e7f41fa370
README: add version compatibility table 2020-04-24 10:10:17 +02:00
Oliver Gugger
ad4e1e971e
loopd: check lnd version and subservers 2020-04-24 10:04:42 +02:00
Oliver Gugger
3da09aac0e
client: use cached info to log connected node 2020-04-24 10:04:42 +02:00
Oliver Gugger
8848d30fb3
lndclient: check and cache version compatibility on connect 2020-04-24 10:04:39 +02:00
Oliver Gugger
211586e614
lndclient: cache node info on connect 2020-04-24 10:03:34 +02:00
Oliver Gugger
44d05f284b
lndclient+test: add versioner client and mock 2020-04-24 09:59:05 +02:00
Oliver Gugger
a8e6118cfb
loopd+lndclient: extract config parameters into struct 2020-04-24 09:59:05 +02:00
Oliver Gugger
899d04470b
lndclient: add readonly macaroon to pouch 2020-04-24 09:59:04 +02:00
Oliver Gugger
f6a941244e
lndclient: use readonly macaroon for startup check 2020-04-24 09:58:57 +02:00
Joost Jager
23d646ea6a
Merge pull request #183 from joostjager/routerrpc-v2
lndclient: move to V2 payment methods
2020-04-22 14:11:11 +02:00
Joost Jager
e0b987f403
lndclient: move to V2 payment methods
Otherwise mpp isn't supported.
2020-04-22 14:02:03 +02:00
Oliver Gugger
bf6f6b31f4
client: fix some comments 2020-04-22 13:52:05 +02:00
Oliver Gugger
4f1ecd9344
Merge pull request #180 from guggero/docs-update
cmd/loop+README: explain fees and optimize fee display
2020-04-21 15:57:10 +02:00
Oliver Gugger
24066bb1dd
README: describe fee structure 2020-04-21 15:53:19 +02:00
Oliver Gugger
3ea07f167f
cmd/loop: clarify some flag descriptions 2020-04-21 15:53:18 +02:00
Oliver Gugger
3b630667a5
cmd/loop: improve displayed limits 2020-04-21 15:53:18 +02:00
Joost Jager
4a714e0c96
Merge pull request #178 from joostjager/loopout-routerrpc
loopout: allow multi-loop
2020-04-20 10:13:58 +02:00
Carla Kirk-Cohen
97403b9c1e
Merge pull request #179 from carlaKC/loopin-addconftarget
loopin: allow user to configure confirmation target
2020-04-20 08:45:02 +02:00
Carla Kirk-Cohen
a90971a697
Merge pull request #175 from bhandras/mock_update
test: followup update chainnotifier mock to fwd notifications for matching txs
2020-04-17 11:12:11 +02:00
carla
5a5ac94661
README: add conf_target to loop in readme section 2020-04-17 09:56:28 +02:00
carla
fc99c8b320
multi: add confirmation target to loop in 2020-04-17 09:56:21 +02:00
carla
f726fc2bc8
loopd: add missing zero case to validateConfTarget
Update validate function to return default target for zero value
confirmation targets, as indicated by the comment. This change
introduces a behaviour change for direct rpc calls to loopd (ie,
those not made by the loop cli tool). Previously, these calls
would fail and indicate that the conf target must be > 2, now
they will succeed with the default conf target. The loop cli
tool is unaffected because we already set the default value.

When clients upgrade from a previous version of loopd which did
not have this check, preexisting loops will be unaffected, because
loop ins had the default of 6 confirmations set, and loop outs with
<2 conf target would not have been created.
2020-04-17 09:40:20 +02:00
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.
2020-04-17 09:40:18 +02:00
Joost Jager
6acd76e237
loopout: allow multi-loop 2020-04-16 16:45:01 +02:00
Joost Jager
710ae77750
loopout: log in-flight htlc status 2020-04-16 16:40:37 +02:00
Joost Jager
4039ba9b69
loopout: use routerrpc to send payments 2020-04-16 16:40:35 +02:00
Andras Banki-Horvath
235e1bb9b8 test: followup update chainnotifier mock to fwd notifications for matching txs
This is the remainder of the previous commit which was left out from the
original PR.
2020-04-15 14:43:03 +02:00
carla
e36c5a45d3
loop: fix loop in quote conf target flag usage field 2020-04-15 09:19:29 +02:00
carla
41550a9c4b
makefile+travis: add install and build commands
Build executables are suffixed with 'debug' because we cannot
create a loopd executable in the root repo dir, since there is an
already existing loopd executable. Add build to travis.
2020-04-15 09:19:06 +02:00
Joost Jager
32d0cd90e3
lndclient: update to new routerrpc 2020-04-15 09:16:00 +02:00
Olaoluwa Osuntokun
8301abdb4c
Merge pull request #174 from bhandras/mock_update
test: update chainnotifier mock to fwd notifications for matching txs
2020-04-06 14:32:26 -07:00
Andras Banki-Horvath
95273c1cf8 test: update chainnotifier mock to fwd notifications for matching txs 2020-04-06 22:00:02 +02:00
Olaoluwa Osuntokun
605d3ac60b
Merge pull request #173 from bhandras/hotfix
loopd: add missing mutex unlock and fix subtle reace condition
2020-04-02 16:49:22 -07:00
Andras Banki-Horvath
f4be20cc5e loopd: add missing mutex unlock and fix subtle reace condition 2020-04-01 19:04:50 +02:00
Olaoluwa Osuntokun
bb38cf5c79
Merge pull request #165 from wpaulino/swap-server-over-tor
loopd: add SOCKS proxy config option to dial swap server over Tor
2020-03-15 15:53:49 -07:00
Olaoluwa Osuntokun
52730973e9
Merge pull request #169 from lightninglabs/v0.5.1-beta
version: bump version to 0.5.1-beta
2020-03-14 21:13:34 -07:00
Alex Bosworth
ffb77c465a
version: bump version to 0.5.1-beta 2020-03-13 16:02:31 -07:00
Alex Bosworth
3e8b6aad09
Merge pull request #168 from lightninglabs/increase-fee-maximum
cmd/loop: bump rate maximum
2020-03-13 15:59:33 -07:00
Alex Bosworth
933f1b81d1
cmd/loop: bump rate maximum
Increase rate maximum multiplier to increase maximum fees when there is a large fee rate change
2020-03-13 14:03:20 -07:00
Oliver Gugger
e5c5d49a30
Merge pull request #158 from guggero/max-quote-fix
Don't fail loop in quote if balance is insufficient for the miner fee estimation
2020-03-09 09:09:48 +01:00
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.
2020-03-06 16:40:30 -08:00
Oliver Gugger
acdd2a22b2
cmd/loop: warn user if fee estimation fails 2020-03-06 10:13:17 +01:00
Oliver Gugger
3dd10f14dc
client: return miner fee of -1 if fee estimation fails 2020-03-06 10:13:16 +01:00
Oliver Gugger
f5fbf6655d
looprpc: clarify loop quote response 2020-03-06 09:30:28 +01:00
Alex Bosworth
a473ab5d79
Merge pull request #161 from lightninglabs/v0.5.0-beta
version: bump version to 0.5.0-beta
2020-03-05 13:14:22 -08:00
Alex Bosworth
bca4ea8ee2
version: bump version to 0.5.0-beta 2020-03-05 11:47:27 -08:00