Commit Graph

35 Commits (c8666caf2044534a0d7d00fa10650e1fba2355ab)

Author SHA1 Message Date
Oliver Gugger 751c70e6c7
loopd: add macaroon authentication to the daemon's server connection
To secure access to loop's RPC server, we add a macaroon authentication
service and its gRPC interceptors to the daemon's server connection.
4 years ago
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.
4 years ago
Oliver Gugger a8d93bec6a
loopd: add TLS to the daemon's server connection 4 years ago
Joost Jager 1eb7d754f6
build: update to tagged lndclient version 4 years ago
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.
4 years ago
Joost Jager 0c9fcd790e
lndclient: move to github.com/lightninglabs/lndclient 4 years ago
Wilmer Paulino 2c13d53bcb
lndclient: expose basic coin selection RPCs for WalletKitClient 4 years ago
Joost Jager 0ef659a486
looprpc: generate with latest lnd versions of the proto generators
3ef41dd198
4 years ago
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.
4 years ago
Andras Banki-Horvath 543091747a build: bump lnd version to master head 4 years ago
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.
4 years ago
Joost Jager 65375723b4
lndclient: upgrade to lnd v0.10.0-beta-rc5 4 years ago
Joost Jager e0b987f403
lndclient: move to V2 payment methods
Otherwise mpp isn't supported.
4 years ago
Joost Jager 32d0cd90e3
lndclient: update to new routerrpc 4 years ago
Olaoluwa Osuntokun 7b4eb6eac4
build: update grpc-gateway dep 4 years ago
Oliver Gugger 2dc7d465fa
mod+cli: default to hex encoding for byte slices 4 years ago
Wilmer Paulino 3e2a7240d7
lndclient: expose DeriveSharedKey for SignerClient 4 years ago
Johan T. Halseth 80b071a2e6
mod+lndclient: update to lnd version with non-deprecated dialer 4 years ago
Oliver Gugger bc07050da2
mod: update lnd version 4 years ago
Johan T. Halseth b3d1efb84c
dep+looping: update to latest lnd master
A field changed from satoshis to msat, so we must do the conversion.
4 years ago
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
5 years ago
Johan T. Halseth ffcbf37230
mod: update btcd dep to v0.20.1-beta 5 years ago
Oliver Gugger 0d76d6e162
mod: use newest lnd version 5 years ago
Olaoluwa Osuntokun 31ee5d8784 build: update to go1.13 5 years ago
Olaoluwa Osuntokun 32672cbdb0
build: tidy go modules, update to lnd v0.7.1 5 years ago
Nigel Christian 861808530a loop: add REST endpoints for Loop In 5 years ago
Joost Jager dc2baf582f
lndclient: use SubscribeSingleInvoiceRequest message 5 years ago
Olaoluwa Osuntokun 52dbc03dda
lndclient: add NewBasicClient function 5 years ago
Olaoluwa Osuntokun 74d381fa63
build: go mod tidy 5 years ago
Joost Jager 9a1b60b4be
multi: always supply chain params when decoding addresses 5 years ago
Olaoluwa Osuntokun c0d5238ab4
build: build against latest version of lnd 5 years ago
Wilmer Paulino eb8277b9f9
cmd/loopd: add REST proxy 5 years ago
Olaoluwa Osuntokun 64e9be6699
build: tidy go mod 5 years ago
Olaoluwa Osuntokun a770e3d7c1
loop: update all import paths to public repo 5 years ago
Joost Jager 21fcd8d94e
Lightning Loop initial version 5 years ago