2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-16 00:12:52 +00:00
Commit Graph

311 Commits

Author SHA1 Message Date
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
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
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
Oliver Gugger
a57a2947b5
cmd/loop: add loop in quote command 2020-03-04 16:39:54 +01:00
Olaoluwa Osuntokun
8a4d630c93
Merge pull request #156 from guggero/rest-api-fixes
looprpc: remove streaming REST endpoint, fix comment
2020-02-18 18:59:13 -08:00
Oliver Gugger
1811aa49a3
looprpc: remove streaming REST endpoint, fix comment 2020-02-18 09:27:19 +01:00
Olaoluwa Osuntokun
ba6b4e782e
Merge pull request #145 from guggero/stream-interceptor
lsat: add stream interceptor
2020-02-17 16:00:29 -08:00
Joost Jager
b785254f0e
Merge pull request #152 from joostjager/loop-in-last-hop
multi: allow loop in last hop restriction
2020-02-17 20:17:37 +01:00
Joost Jager
b69e8cb275
multi: allow loop in last hop restriction 2020-02-17 19:59:07 +01:00
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.
2020-02-17 19:59:05 +01:00
Oliver Gugger
8771d06aad
Merge pull request #155 from wpaulino/signer-compute-input-script
lndclient: expose ComputeInputScript in SignerClient
2020-02-14 09:58:47 +01:00
Wilmer Paulino
0b053e6868
lndclient: expose ComputeInputScript in SignerClient 2020-02-12 17:01:45 -08:00
Alex Bosworth
4d2018e852
Merge pull request #150 from lightninglabs/v0.4.1-beta
version: bump version to 0.4.1-beta
2020-02-11 09:02:40 -08:00
Joost Jager
1ebba410ea
Merge pull request #151 from joostjager/last-hop-restriction
lndclient: add last hop restriction
2020-02-11 14:06:31 +01:00
Joost Jager
f3887ebb97
lndclient: add last hop restriction 2020-02-11 12:32:24 +01:00
Oliver Gugger
736daafb5a
Merge pull request #143 from wpaulino/lightning-client-channel-backups
lndclient: expose retrieval of channel backups through LightningClient
2020-02-11 09:27:36 +01:00
Wilmer Paulino
a5f56342df
lndclient: expose retrieval of channel backups through LightningClient 2020-02-10 11:50:34 -08:00
Alex Bosworth
29fa117c75
version: bump version to 0.4.1-beta 2020-02-10 09:48:11 -08:00
Oliver Gugger
79c54b9334
lsat: add stream interceptor 2020-02-10 10:13:01 +01:00
Alex Bosworth
e8dce9e67f
Merge pull request #149 from guggero/quote-fix
cmd/loop: remove number of flags restriction
2020-02-06 11:11:39 -08:00
Alex Bosworth
ba7a018a5c
Merge pull request #148 from guggero/cors-header
loopd: add option to configure CORS origin
2020-02-06 11:10:24 -08:00
Oliver Gugger
60e1fd2481
cmd/loop: remove number of flags restriction
With the restriction in place, it is not possible to use the
--conf_target and --fast flag at the same time. To avoid similar
problems in the future, the check for the number of amounts is
removed completely.
2020-02-06 14:04:26 +01:00
Oliver Gugger
ae376a49ba
loopd: fix linter issue 2020-02-06 11:59:48 +01:00
Oliver Gugger
8c7eee2ba9
loopd: add option to configure CORS origin 2020-02-06 11:48:09 +01:00
Oliver Gugger
bcd92cead4
lsat: extract runtime info into interceptContext
To make the code easier to be reused for the upcoming stream
interceptor, all generic information about the interceptor's context
is extracted into a struct and the helper methods are adapted to
work with that struct.
2020-02-06 10:41:50 +01:00
Olaoluwa Osuntokun
7b4eb6eac4
build: update grpc-gateway dep 2020-02-04 18:53:09 -08:00
Olaoluwa Osuntokun
fec3586e21
looprpc: re-gen protos 2020-02-04 18:45:27 -08:00
Olaoluwa Osuntokun
39640d2465
looprpc: add cli commands to all calls 2020-02-04 18:42:32 -08:00
Olaoluwa Osuntokun
0dae5460e8
Merge pull request #144 from lightninglabs/v0.4.0-beta
version: bump version to 0.4.0-beta
2020-02-04 15:15:01 -08:00
Alex Bosworth
7e2d6a20a8
version: bump version to 0.4.0-beta 2020-02-03 17:50:05 -08:00
Olaoluwa Osuntokun
6a078ff598
Merge pull request #140 from guggero/monitor-rest
loopd+looprpc: add REST compatible status calls
2020-02-03 15:51:37 -08:00
Oliver Gugger
2dc7d465fa
mod+cli: default to hex encoding for byte slices 2020-01-31 13:57:29 +01:00
Oliver Gugger
b694a76be0
looprpc+loopd: deprecate string ID 2020-01-31 13:57:28 +01:00
Oliver Gugger
26c0c17dbd
loopd+cli: set max gRPC message receive size 2020-01-31 13:57:26 +01:00