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
Alex Bosworth
71eb1ddb09
Merge pull request #102 from lightninglabs/alexbosworth-patch-10
...
readme: update slack link
2019-11-04 08:51:36 -08:00
Alex Bosworth
b72027a301
readme: update slack link
...
Replace non-working slack link with working link
2019-11-02 08:46:43 -07:00
Alex Bosworth
3fb8b13a5b
Merge pull request #98 from coreyphillips/master
...
Increased minimum required version of lnd to 0.7.1 in README.md.
2019-10-28 09:34:22 -07:00
Oliver Gugger
df088932a0
lint: allow init functions
2019-10-28 17:09:23 +01:00
Oliver Gugger
b574e344ea
multi: add persistent logger
2019-10-28 17:09:23 +01:00
Oliver Gugger
0d76d6e162
mod: use newest lnd version
2019-10-28 17:09:18 +01:00
Corey Phillips
494a1b454c
Increased minimum required version of lnd to 0.7.1 in README.md.
2019-10-27 11:22:03 -04:00
Alex Bosworth
43cff31297
Merge pull request #95 from lightninglabs/alexbosworth-patch-9
...
version: bump version to 0.2.4
2019-10-11 12:57:51 -07:00
Alex Bosworth
52d0d04ea7
version: bump version to 0.2.4
...
Bump the version number to a new patch release version
2019-10-11 12:31:48 -07:00
Johan T. Halseth
ce724d7a7c
Merge pull request #93 from guggero/extract-types
...
loop+cmd: extract types into common module
2019-10-10 12:31:01 +02:00
Oliver Gugger
69f2af9fdc
loop+cmd: extract types into swap module
2019-10-09 16:14:06 +02:00
Johan T. Halseth
7a1680d7d6
Merge pull request #94 from guggero/lint
...
Add linter to makefile, lint on Travis build
2019-10-09 15:59:30 +02:00
Oliver Gugger
a0a03b4972
only lint new issues, add linting to travis run
2019-10-09 14:36:35 +02:00
Oliver Gugger
36838cf7f4
multi: fix most obvious linter errors
2019-10-09 14:35:41 +02:00
Oliver Gugger
1cdb233a00
add lint command to Makefile
2019-10-09 09:03:31 +02:00
Johan T. Halseth
9039e5f97a
Merge pull request #88 from halseth/proto-quote-amount
...
server proto: add amt to ServerLoopOutQuoteRequest
2019-10-09 08:35:16 +02:00
Johan T. Halseth
0023d1a0da
looprpc: update to new server protos
...
We update to new set of server protos where new Terms calls are added.
Here static information will be returned from the server.
We no longer have a feebase+feerate, but get a final fee directly
returned by the server.
2019-10-08 22:28:20 +02:00
Johan T. Halseth
0cff92d265
looprpc+cmd: deprecate dynamic terms
...
We move destination and cltv to QuoteResponse, and deprecate the
non-static fields.
Terms will now only show max/min swap sizes.
2019-10-08 22:28:20 +02:00
Johan T. Halseth
5fd51c0a3f
looprpc: remove go_package option
...
Not needed.
2019-10-08 22:28:20 +02:00
Alex Bosworth
556845e79c
Merge pull request #92 from lightninglabs/alexbosworth-patch-8
...
Bump version patch
2019-10-03 12:01:46 -07:00
Alex Bosworth
a45e2c80c0
Bump version patch
2019-10-03 11:34:31 -07:00
Alex Bosworth
b61807b310
Merge pull request #89 from wpaulino/loop-out-conf-target
...
loopout: compare delta from htlc expiry correctly
2019-10-03 11:33:26 -07:00
Alex Bosworth
0e0967716c
Merge pull request #86 from guggero/external-loop-in-fee-est
...
loopd: don't fail external loop in on fee estimation failure
2019-10-03 11:33:02 -07:00
Wilmer Paulino
e0d23cb180
loopout: compare delta from htlc expiry correctly
...
This addresses an issue where using a sweep confirmation target greater
than the default would result in most cases not revealing the preimage
due to the default confirmation target yielding a higher fee than the
max miner fee backed by the confirmation target provided.
2019-10-02 11:07:07 -04:00
Wilmer Paulino
09029bfdec
test: allow custom fee estimates
2019-10-01 11:21:17 -04:00