2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-09 19:10:47 +00:00
Commit Graph

1495 Commits

Author SHA1 Message Date
Oliver Gugger
ea43a16577
Merge pull request #132 from guggero/validate-lsat-cost
lsat: validate cost of auth token
2020-01-14 09:26:23 +01:00
Olaoluwa Osuntokun
e4ffb0803c
Merge pull request #128 from Free-FreeThinker/free--max-routing-fee-config
Add option for max swap off-chain routing fee
2020-01-13 22:01:28 -08:00
FreeThinker
321f5f791d cmd/loop: add an option for max off chain swap fee 2020-01-12 14:20:39 -08:00
Oliver Gugger
202edd05f2
lsat: test cost maximum in interceptor 2020-01-10 12:15:08 +01:00
Oliver Gugger
ccdbc3b21b
multi: thread new config values through client 2020-01-10 12:15:08 +01:00
Oliver Gugger
8aeeaefbaf
loopd+lsat: add LSAT cost configuration parameters 2020-01-10 12:15:02 +01:00
Johan T. Halseth
d9597e8387
Merge pull request #129 from halseth/loop-out-quote-deadline
Loop out quote with fast option
2020-01-08 12:33:30 +01:00
Johan T. Halseth
d5c9a66c60
swap_server_client: call server with SwapPublicationDeadline set 2020-01-08 11:58:27 +01:00
Olaoluwa Osuntokun
68ebd14235
Merge pull request #130 from guggero/lsat-header-rfc
lsat: change WWW-Authenticate header format
2020-01-07 16:21:31 -08:00
Oliver Gugger
bbc829585f
lsat: change WWW-Authenticate header format
To be compliant with RFC 7235 section 4.1 we change the format of the
WWW-Authenticate header field to double quoted and comma separated
fields.
2020-01-07 15:41:44 +01:00
Johan T. Halseth
b2d1d99521
loopd call swapserver with SwapPublicationDeadline set 2020-01-07 13:52:42 +01:00
Johan T. Halseth
18608a6aa3
cmd/loop: account for fast swap in loopout cmd quote 2020-01-07 13:47:07 +01:00
Johan T. Halseth
dcc5a8ce88
cmd/loop: add fast option to quote cmd 2020-01-07 13:46:40 +01:00
Johan T. Halseth
b102802ce5
looprpc: add SwapPublicationDeadline to QuoteRequest 2020-01-07 13:43:39 +01:00
Johan T. Halseth
48f6f0fc5c
looprpc: add updated server proto 2020-01-07 13:28:22 +01:00
Johan T. Halseth
5e00ce6267
Merge pull request #115 from halseth/loopd-mobile
Create loopd package, allow custom listeners
2020-01-03 14:54:10 +01:00
Johan T. Halseth
0a51bf4d2d
loopd: make lnd conn configurable 2020-01-03 14:01:32 +01:00
Johan T. Halseth
34c2e71f9e
loopd: move lnd services init to config
This allows us to supply custom lnd connections to the daemon.
2020-01-03 14:01:32 +01:00
Johan T. Halseth
c7e8c9f964
loopd: make RPC listener configurable
Allows to use external listener, such as in-memory.
2020-01-03 14:01:32 +01:00
Johan T. Halseth
0f0573c047
loopd/daemon: make server gRPC/REST listeners configurable 2020-01-03 14:01:31 +01:00
Johan T. Halseth
391ae9dc6b
loopd/daemon: handle proxy error
Check returned error to make linter happy.
2020-01-03 14:01:31 +01:00
Johan T. Halseth
2334816a59
lndclient: split NewLndServices to take gRPC dialer 2020-01-03 14:01:31 +01:00
Johan T. Halseth
80b071a2e6
mod+lndclient: update to lnd version with non-deprecated dialer 2020-01-03 14:01:31 +01:00
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.
2020-01-03 14:01:31 +01:00
Johan T. Halseth
644b5b16f7
cmd+loopd: move loopd to new folder loopd 2020-01-03 14:01:31 +01:00
Wilmer Paulino
1ea58ad3d6
Merge pull request #125 from wpaulino/lndclient-listtransactions
lndclient: expose ListTransactions as part of LightningClient
2019-12-12 13:39:24 -08:00
Wilmer Paulino
518ec248e2
Merge pull request #123 from guggero/getinfo-addr
lndclient: expose node URIs and message signing RPCs in lightning client
2019-12-12 13:36:07 -08:00
Wilmer Paulino
43579b017f
lndclient: expose ListTransactions as part of LightningClient 2019-12-12 13:33:06 -08:00
Oliver Gugger
304c8f580f
lndclient: expose VerifyMessage RPC 2019-12-12 20:52:53 +01:00
Oliver Gugger
2a7c5182a4
lndclient: expose SignMessage RPC 2019-12-12 09:15:34 +01:00
Oliver Gugger
162b2589e0
lndclient: return node URIs from GetInfo call 2019-12-12 08:50:41 +01:00
Oliver Gugger
bc07050da2
mod: update lnd version 2019-12-12 08:50:41 +01:00
Olaoluwa Osuntokun
53dc21f99a
Merge pull request #101 from guggero/lsat-integration
LSAT aware client interceptor
2019-12-06 19:06:20 -08:00
Olaoluwa Osuntokun
a9033bab2a
Merge pull request #116 from guggero/token-id
lsat: add token ID type
2019-12-06 15:38:38 -08:00
Oliver Gugger
1650f3a18d
client+lsat: specify global timeout 2019-12-06 09:23:53 +01:00
Oliver Gugger
fa62caa891
cmd/loop: add command to list tokens 2019-12-06 09:23:52 +01:00
Oliver Gugger
47bf510bd8
loopd: add RPC method to list tokens 2019-12-06 09:23:52 +01:00
Oliver Gugger
a23dfe36ab
lsat: track pending payments, keep old tokens 2019-12-06 09:23:51 +01:00
Oliver Gugger
31bb18255e
lsat+loopd: add logger 2019-12-05 11:19:35 +01:00
Oliver Gugger
5f8c876b4c
Merge pull request #122 from guggero/msat-conversion-2
lndclient: use old value field for backward compatibility
2019-12-03 13:50:14 +01:00
Oliver Gugger
be6ea3bdeb
lndclient: use old value field for backward compatibility 2019-12-03 13:39:32 +01:00
Oliver Gugger
0e2f3c9571
Merge pull request #121 from guggero/msat-conversion
lndclient: fix Value/ValueMsat conversion problem
2019-12-03 13:00:07 +01:00
Oliver Gugger
fc44ee8785
lndclient: fix Value/ValueMsat conversion problem 2019-12-03 10:42:01 +01:00
Johan T. Halseth
bb4dbc6207
Merge pull request #119 from halseth/lnd-dep-update
[trivial] dep+looping: update to latest lnd master
2019-12-02 20:40:40 +01:00
Johan T. Halseth
b3d1efb84c
dep+looping: update to latest lnd master
A field changed from satoshis to msat, so we must do the conversion.
2019-12-02 13:49:38 +01:00
Oliver Gugger
9d892440fe
lsat: add token ID type 2019-11-28 14:35:45 +01:00
Oliver Gugger
8cecae501c
lsat: add unary interceptor and simple store 2019-11-26 10:28:56 +01:00
Oliver Gugger
49cbe9aa63
loopd: add swap server TLS cert path
We need the ability to connect to a swap server that uses
a self-signed certificate. The LSAT proxy cannot proxy insecure
gRPC requests since they don't conform to the HTTP 1.1 standard.
Therefore the LSAT proxy fill only serve TLS connections.
This means, we need the TLS path option to specify the certificate
the test environment LSAT proxy uses.
2019-11-26 09:32:08 +01:00
Olaoluwa Osuntokun
8b8b878440
Merge pull request #109 from wpaulino/lsat-basics
lsat: introduce LSAT related utilities
2019-11-25 18:50:26 -06:00
Wilmer Paulino
1eb8ed3da5
lsat: introduce LSAT related utilities
We introduce a new package: `lsat`, which aims to provide utilities that
will serve useful in the context of LSAT creation and verification for
LSAT-enabled services.
2019-11-25 13:16:04 -08:00