carla
488df785e0
lndclient: close trackpayment channels once final state is reached
...
When the server is finsihed sending updates in trackPayment, we get an
EOF error. To allow clients to listen on these channels after the
payment has succeeded, we close them to signal that we have finsihed
sending updates.
2020-06-08 12:53:07 +02:00
Andras Banki-Horvath
0e048cbe54
lndclient: add optional custom records to SendPayment
2020-06-03 11:24:39 +02:00
Joost Jager
4871abfc80
Merge pull request #204 from Roasbeef/lndclient-resp
...
lndclient: also set gRPC max resp size for sub-servers
2020-05-28 14:37:49 +02:00
Andras Banki-Horvath
cf9c3748c3
lndclient: add keysend ability to RouterClient
2020-05-21 20:04:46 +02:00
Andras Banki-Horvath
4d3771430a
lndclient: add ListChannels to LightningClient
2020-05-21 20:04:46 +02:00
Joost Jager
3316c4beed
Merge pull request #205 from joostjager/channel-set
...
loop out: allow outbound channel set for multi-loops
2020-05-21 13:06:52 +02:00
Joost Jager
23a1e33dfc
lndclient: document SendPaymentRequest fields
2020-05-21 11:22:08 +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
carla
a57e34c71f
lndclient: add lookup invoice function to client interface
2020-05-21 08:59:54 +02:00
carla
87a0a0c588
lndclient: add lookup invoice function to client implementation
2020-05-21 08:59:21 +02:00
Olaoluwa Osuntokun
e97ec65444
lndclient: also set gRPC max resp size for sub-servers
...
In this commit, we now ensure that we set the max resp size for the
sub-server connection we create. Without this, it's possible that
several calls fail if the responses aren't yet paginated, or are very
large.
2020-05-18 14:38:42 -07:00
Joost Jager
c061206406
lndclient: expose failure reason
2020-04-28 19:49:59 +02:00
Joost Jager
65375723b4
lndclient: upgrade to lnd v0.10.0-beta-rc5
2020-04-27 16:30:42 +02:00
Oliver Gugger
e99202ced5
Merge pull request #181 from guggero/lnd-version-aware
...
Make loop aware of lnd's version
2020-04-24 11:11:47 +02:00
Oliver Gugger
8848d30fb3
lndclient: check and cache version compatibility on connect
2020-04-24 10:04:39 +02:00
Oliver Gugger
211586e614
lndclient: cache node info on connect
2020-04-24 10:03:34 +02:00
Oliver Gugger
44d05f284b
lndclient+test: add versioner client and mock
2020-04-24 09:59:05 +02:00
Oliver Gugger
a8e6118cfb
loopd+lndclient: extract config parameters into struct
2020-04-24 09:59:05 +02:00
Oliver Gugger
899d04470b
lndclient: add readonly macaroon to pouch
2020-04-24 09:59:04 +02:00
Oliver Gugger
f6a941244e
lndclient: use readonly macaroon for startup check
2020-04-24 09:58:57 +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
6acd76e237
loopout: allow multi-loop
2020-04-16 16:45:01 +02:00
Joost Jager
710ae77750
loopout: log in-flight htlc status
2020-04-16 16:40:37 +02:00
Joost Jager
32d0cd90e3
lndclient: update to new routerrpc
2020-04-15 09:16:00 +02:00
Wilmer Paulino
0b053e6868
lndclient: expose ComputeInputScript in SignerClient
2020-02-12 17:01:45 -08:00
Joost Jager
f3887ebb97
lndclient: add last hop restriction
2020-02-11 12:32:24 +01:00
Wilmer Paulino
a5f56342df
lndclient: expose retrieval of channel backups through LightningClient
2020-02-10 11:50:34 -08:00
Wilmer Paulino
3e2a7240d7
lndclient: expose DeriveSharedKey for SignerClient
2020-01-21 16:40:56 -08: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
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
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
be6ea3bdeb
lndclient: use old value field for backward compatibility
2019-12-03 13:39:32 +01:00
Oliver Gugger
fc44ee8785
lndclient: fix Value/ValueMsat conversion problem
2019-12-03 10:42:01 +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
Oliver Gugger
0225b6e0ea
lndclient: increase gRPC max message receive size to 200MiB
2019-11-15 16:29:20 +01:00
Oliver Gugger
b574e344ea
multi: add persistent logger
2019-10-28 17:09:23 +01:00
Oliver Gugger
36838cf7f4
multi: fix most obvious linter errors
2019-10-09 14:35:41 +02:00
Valentine Wallace
8311d70cbf
lndclient/basic_client: add functional optional args to NewBasicClient.
2019-06-06 15:57:25 -07:00
Joost Jager
f559120565
lndclient: add router sub server
...
This commit exposes router sub server functionality to loop. This is a
preparation for using reliable payments in loop out.
2019-06-06 13:57:49 +02:00
Joost Jager
dc2baf582f
lndclient: use SubscribeSingleInvoiceRequest message
2019-06-06 13:57:47 +02:00
Valentine Wallace
ee5f1852d6
lndclient: increase lightning gRPC block size to 50MB
2019-05-21 17:04:49 -07:00
Olaoluwa Osuntokun
56ab811f62
lndclient: modify basic_client.go to use the mac dir rather than path
2019-05-02 17:33:32 -07:00
Olaoluwa Osuntokun
52dbc03dda
lndclient: add NewBasicClient function
2019-04-30 19:43:08 -07:00
Olaoluwa Osuntokun
6d00809575
cmd/loopd+lndclient: based on the network, update the macaron path if unset
2019-04-18 16:11:29 -07:00