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

54 Commits

Author SHA1 Message Date
Andras Banki-Horvath
db2fba6f0d
mod: bump LND 2022-02-01 15:09:51 +01:00
Elle Mouton
ad7cdc8ed2 multi: use lndclient MacaroonService
Since the code for creating and using a macaroon service is the same for
multiple projects (pool, loop, litd etc), the code has been unified in
lndclient. So this commit removes the macaroon service code and instead
uses the lndclient code.
2022-01-17 16:13:19 +02:00
Andras Banki-Horvath
daa62b8ea2
mod: bump lnd to v0.14.1-beta 2021-11-29 16:33:21 +01:00
Oliver Gugger
0ea64e81fb
multi: bump lnd to v0.14.0-beta final, release v0.15.1-beta
With this PR we include the final version of the lnd v0.14.0-beta
release to ensure compatibility.
The rationale for choosing Loop version 0.15.1 instead of 0.16.0 is that
this doesn't add any major new features.
2021-11-18 13:53:48 +01:00
Oliver Gugger
2c6e035235
multi: bump lnd compile time dependency to v0.14.0-beta.rc1 2021-11-03 19:31:21 +01:00
carla
cca5926263
multi: bump lndclient to v0.12.0-13
To allow code with more up-to-date dependencies to import loop, we
bump our lndclient version. The minimum loop version remains 11.1
since we're not using any new apis.
2021-10-24 10:22:30 +02:00
Oliver Gugger
a7fff0ac2f
multi: update lnd master with grpc-gateway upgrade
To make loop work with the latest lnd version inside of LiT, we need
to upgrade the grpc-gateway library to the same v2 version here too.
2021-07-29 17:02:06 +02:00
Olaoluwa Osuntokun
e24559fdc7
build: pin against lnd v0.13.0 2021-06-17 17:19:04 -07:00
carla
7dca93fd88
go.mod: bump to lndclient version that handles EOF 2021-06-08 16:24:02 +02:00
Oliver Gugger
45dbd582d1
multi: bump lnd min version to v0.11.1-beta
The version v0.10.1-beta of lnd is quite old with v0.13.0-beta just
being published as RC2. Maintaining backward compatibility in the
lndclient library is quite an effort. We decided to merge the v0.11.1
branch into master meaning that all our projects now have this minimum
version requirement.
2021-05-19 14:25:23 +02:00
Oliver Gugger
32f1f2657b
multi: bump lnd to version v0.13.0-beta.rc2
This commit bumps the _compile time_ version of lnd to v0.13.0-beta.rc2.
This does not have an effect on the user, the run time backward compatibility
will be preserved. Only the next commit will bump that minimum version.
2021-05-19 14:24:41 +02:00
Oliver Gugger
27fd6b3304
multi: use aperture instead of local lsat library
Since the lsat code was copied over to aperture a while ago for other
projects to use as well, we should migrate over to that shared code
also. This will give us the recently added "remove token if payment
failed and try again" feature for free along with some other small
updates to the lsat package.
2021-04-29 10:01:15 +02:00
Carla Kirk-Cohen
d85cc010b0
Merge pull request #327 from carlaKC/325-waitunlocked
loopd: wait for lnd to be unlocked on startup
2021-01-14 09:24:19 +02:00
carla
6c2d88b3a5
multi: bump lndclient to version with wait for unlock 2021-01-14 09:13:01 +02:00
Oliver Gugger
fb9034220c
mod: update lnd to v0.12.0 2021-01-07 17:33:21 +01:00
Oliver Gugger
36fdbda6c4
mod: update to final lnd version 2020-10-30 10:36:41 +01:00
Oliver Gugger
38ddbfb45d
mod+loopin+loopout: update lndclient, add labels to TXs
We update to the latest lndclient that now requires a label when
publishing an on-chain transaction. Instead of just adding an empty
string, we use the proper labels added in a previous commit.
2020-10-15 10:40:12 +02:00
carla
692620d367
liquidity: add fee budget to swap suggestions
Add a dated fee budget to our swap suggestions. This budget only applies
to automatically dispatched swaps (which will be added in later
commits). We choose to apply the fee budget to our suggestions so that
they perfectly replicate what the autolooper would do. The budget has a
start date so that it can be refreshed once it has been used up over a
period (rather than having to endlessly increase it).
2020-10-12 13:34:54 +02:00
carla
b1a4313fbb
go.sum: run go mod tidy to cleanup old dependencies 2020-10-12 12:45:11 +02:00
Oliver Gugger
688659421b
mod+loopd: bump to lnd v0.11.1-beta.rc3
To make sure we can use the latest version of loop in LiT, we need to
make sure loop compiles against the actual v0.11.1 branch of lnd. There
were some conflicting changes to the macaroon service that didn't make
it to the branch that we need to roll back. Those changes don't affect
loop at all as we were always using the default root key ID anyway.
2020-09-18 08:58:16 +02:00
Oliver Gugger
ff17553f3b
mod+loopd: update to lnd 0.11.1
We update to the newest version of lnd so we can use the updated
macaroon service.
NOTE: This is a compile time dependency update only, no RPC level update
is required.
2020-09-11 12:20:12 +02:00
Oliver Gugger
a8d93bec6a
loopd: add TLS to the daemon's server connection 2020-09-03 14:19:51 +02:00
Joost Jager
1eb7d754f6
build: update to tagged lndclient version 2020-08-31 13:20:38 +02:00
carla
435238ac03
mutli: bump lndclient version
We need the newer version of lndclient to get our synced to chain
state. This requires changes to our test mock, so it is separated
into a different commit. Since lndclient is expanding to be used in
projects other than loop, the client interface is embedded in our
mock rather than implementing functions we do not need. Functions that
we already use in tests are updated accordingly.

Note that while this commit bumps us to a version of lndclient that
defaults to requiring lnd 0.11, we do not bump our required version
yet because we are not using any new endpoints.
2020-08-14 09:25:39 +02:00
Joost Jager
12a7b34d88
loopdb: migrate to nested updates structure 2020-06-24 15:28:07 +02:00
Joost Jager
0c9fcd790e
lndclient: move to github.com/lightninglabs/lndclient 2020-06-18 14:27:52 +02:00
Wilmer Paulino
2c13d53bcb
lndclient: expose basic coin selection RPCs for WalletKitClient 2020-06-15 12:57:33 -07:00
Joost Jager
0ef659a486
looprpc: generate with latest lnd versions of the proto generators
3ef41dd198
2020-06-15 14:58:19 +02:00
carla
65c847674d
multi: add preimage push to loop out after sweep attempt
Once we have revealed our preimage to the world with a sweep attempt,
we can safely push our preimage to the server to speed up on chain
claim.

Rather than rely on the server, we use the state of our invoice in lnd
to determine whether we should continue trying to push the preimage to
the server.
2020-06-08 12:54:08 +02:00
Andras Banki-Horvath
543091747a build: bump lnd version to master head 2020-06-03 15:51:09 +02:00
carla
f7593dfc15
gosum: tidy dependencies 2020-06-01 12:40:52 +02:00
Joost Jager
c62acd5b85
lndclient: add outgoing channel set restriction
Expose the channel set restriction that was introduced in LND 0.10.1 on
the proxy object.
2020-05-21 11:21:58 +02:00
Joost Jager
65375723b4
lndclient: upgrade to lnd v0.10.0-beta-rc5 2020-04-27 16:30:42 +02:00
Joost Jager
e0b987f403
lndclient: move to V2 payment methods
Otherwise mpp isn't supported.
2020-04-22 14:02:03 +02:00
Joost Jager
32d0cd90e3
lndclient: update to new routerrpc 2020-04-15 09:16:00 +02:00
Olaoluwa Osuntokun
7b4eb6eac4
build: update grpc-gateway dep 2020-02-04 18:53:09 -08:00
Oliver Gugger
2dc7d465fa
mod+cli: default to hex encoding for byte slices 2020-01-31 13:57:29 +01:00
Wilmer Paulino
3e2a7240d7
lndclient: expose DeriveSharedKey for SignerClient 2020-01-21 16:40:56 -08:00
Johan T. Halseth
80b071a2e6
mod+lndclient: update to lnd version with non-deprecated dialer 2020-01-03 14:01:31 +01:00
Oliver Gugger
bc07050da2
mod: update lnd version 2019-12-12 08:50:41 +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
Joost Jager
7ff50ccc5a
lndclient: extend send payment parameters 2019-11-21 14:14:28 +01: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
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
Oliver Gugger
0d76d6e162
mod: use newest lnd version 2019-10-28 17:09:18 +01:00
Olaoluwa Osuntokun
31ee5d8784 build: update to go1.13 2019-09-14 05:38:00 -07:00
Olaoluwa Osuntokun
32672cbdb0
build: tidy go modules, update to lnd v0.7.1 2019-09-04 21:02:56 -07:00
Nigel Christian
861808530a loop: add REST endpoints for Loop In 2019-09-04 20:48:48 -07:00
Joost Jager
dc2baf582f
lndclient: use SubscribeSingleInvoiceRequest message 2019-06-06 13:57:47 +02:00