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
Alex Bosworth
edc3037077
Merge pull request #113 from lightninglabs/alexbosworth-patch-11
...
version: bump version to 0.3.0
2019-11-21 12:15:29 -08:00
Alex Bosworth
278820432e
Merge pull request #75 from halseth/batcher-impl
...
SwapPublicationDeadline for LoopOut contracts
2019-11-21 11:15:03 -08:00
Alex Bosworth
898680ac84
version: bump version to 0.3.0
2019-11-21 10:51:35 -08:00
Johan T. Halseth
7ea0e35299
cmd/loop: delay swap by 30 minutes by default, add --fast to loopout command
...
We now delay the swap by up to 30 minutes by deafult. To keep the
current imemdiate swap, --fast flag is added.
2019-11-21 18:47:01 +01:00
Johan T. Halseth
ea1f9ff8ba
looprpc: add SwapPublicationDeadline to client proto
...
cmd/loopd swapclient_server: use SwapPublicationDeadline from LoopOutRequest
2019-11-21 18:47:01 +01:00
Johan T. Halseth
c70d0deecb
swap_server_client: let the SwapPublicationDeadline be set during LoopOuts
2019-11-21 18:47:01 +01:00
Johan T. Halseth
2d1e41de5d
interface: rename charge->loop in
2019-11-21 18:47:01 +01:00
Johan T. Halseth
ae3893c2d4
looprpc: add swap_publication_deadline to ServerLoopOutRequest
2019-11-21 18:47:01 +01:00
Johan T. Halseth
034cba5b95
loopdb/loopout: add field SwapPublicationDeadline to LoopOutContract
...
We also add a migration for the new LoopOut DB format.
2019-11-21 18:47:00 +01:00
Joost Jager
a6bb2e51c5
Merge pull request #110 from joostjager/additional-send-params
...
lndclient: extend send payment parameters
2019-11-21 14:58:13 +01:00
Joost Jager
7ff50ccc5a
lndclient: extend send payment parameters
2019-11-21 14:14:28 +01:00
Olaoluwa Osuntokun
539d6ed9e3
Merge pull request #112 from wpaulino/update-lnd-version
...
build: update lnd version to current master
2019-11-15 18:40:25 -08:00
Wilmer Paulino
52eaeeab77
build: update lnd version to current master
...
Projects that use a later version of lnd than loop, but also depend on
loop itself would run into the following build error:
github.com/lightninglabs/loop/lndclient
../../go/pkg/mod/github.com/lightninglabs/loop@v0.2.3-alpha/lndclient/walletkit_client.go:30:11: undefined: lnwallet.SatPerKWeight
../../go/pkg/mod/github.com/lightninglabs/loop@v0.2.3-alpha/lndclient/walletkit_client.go:32:54: undefined: lnwallet.SatPerKWeight
../../go/pkg/mod/github.com/lightninglabs/loop@v0.2.3-alpha/lndclient/walletkit_client.go:144:33: undefined: lnwallet.SatPerKWeight
../../go/pkg/mod/github.com/lightninglabs/loop@v0.2.3-alpha/lndclient/walletkit_client.go:176:2: undefined: lnwallet.SatPerKWeight
../../go/pkg/mod/github.com/lightninglabs/loop@v0.2.3-alpha/lndclient/walletkit_client.go:189:9: undefined: lnwallet.SatPerKWeight
2019-11-15 16:16:30 -08:00
Olaoluwa Osuntokun
e38b29db4a
Merge pull request #111 from guggero/grpc-receive-size
...
lndclient: increase gRPC max message receive size to 200MiB
2019-11-15 11:20:48 -08:00
Oliver Gugger
0225b6e0ea
lndclient: increase gRPC max message receive size to 200MiB
2019-11-15 16:29:20 +01:00
Johan T. Halseth
40dbafbaa1
Merge pull request #108 from halseth/mod-update
...
Update btcd dependency
2019-11-14 12:53:50 +01:00
Johan T. Halseth
ffcbf37230
mod: update btcd dep to v0.20.1-beta
2019-11-14 11:01:27 +01:00
Johan T. Halseth
faa13feca0
mod: recreate go.sum file
2019-11-14 11:00:33 +01:00
Olaoluwa Osuntokun
9e5c66c051
Merge pull request #99 from guggero/persistent-logger
...
multi: add persistent logger
2019-11-04 17:19:32 -08:00