Commit Graph

83 Commits

Author SHA1 Message Date
nicolas.dorier
1a1078782e Suppoort macaroonfilepath in connection string 2018-07-10 12:46:04 +09:00
nicolas.dorier
73cb3dc4ee Fix listen loop for LND 2018-07-09 01:08:09 +09:00
nicolas.dorier
9eb36a8b40 Clean the LND listener, and make sure it correctly ends. 2018-07-08 22:20:59 +09:00
nicolas.dorier
6307aa8665 Use SHA256 cert thumprint in connection string, allowInsecure=true 2018-07-08 20:58:37 +09:00
nicolas.dorier
b9e8408db5 Simplify LND implementation 2018-07-08 18:55:48 +09:00
nicolas.dorier
0879895678 Fix tests and rename type=lnd to type=lnd-rest 2018-07-08 15:34:19 +09:00
rockstardev
25dbf6445f LND Support 2018-07-01 21:45:21 +09:00
nicolas.dorier
34deb17f3d Fix tests 2018-07-01 16:10:17 +09:00
nicolas.dorier
b7abc08c27 Create a new format for LightningConnectionString 2018-07-01 15:45:08 +09:00
rockstardev
9a5259510b Merge remote-tracking branch 'source/master' into dev-lndrpc 2018-06-25 22:31:42 -05:00
rockstardev
9e698a8004 Commenting few tricky lines of code 2018-06-23 23:37:58 -05:00
rockstardev
3c4c99ee42 Saving of Macaroon and Tls for LND connection 2018-06-23 23:16:39 -05:00
rockstardev
d34ffc0d9a Refactoring conditional method, separating into two properties 2018-06-23 22:50:50 -05:00
nicolas.dorier
17e914778d Make sure that lightning payments events are using the state of the invoice when they got issued (#205) 2018-06-21 14:15:36 +09:00
rockstardev
89d9658e82 Bugfixing amount in invoice data, we need to set Satoshis 2018-06-15 17:12:59 -05:00
rockstardev
9b540273fc Parsing of node info and returning it for GetInfo 2018-06-15 13:57:39 -05:00
rockstardev
f8c88bd44f Providing ability to increase lightning timeout for tests/debugging 2018-05-31 16:31:39 -05:00
rockstardev
0d1d0d57f4 Logging Swagger errors for logging and easier debugging 2018-05-31 16:31:19 -05:00
rockstardev
2bd1238668 Rounding TotalSeconds expiry so it doesn't break invoice creation 2018-05-31 16:31:00 -05:00
rockstardev
279de1b869 Passing CancelToken and properly parsing invoice response 2018-05-31 15:53:14 -05:00
rockstardev
ce9189caf8 Listen / WaitInvoice for Lnd 2018-05-31 15:08:22 -05:00
rockstardev
d293bc3947 Throwing NotImplementedException for Listen / WaitInvoice 2018-05-25 12:19:15 -05:00
rockstardev
e634700913 Changing the way we signal that LightningConnectingString is Lnd 2018-05-25 12:18:47 -05:00
rockstardev
093ae39e61 Custom HTTPS certificates accepted for lnd connection 2018-05-20 10:27:49 -05:00
rockstardev
cac58808f0 Renaming file to LndInvoiceClient and commenting Dispose 2018-05-20 10:27:35 -05:00
rockstardev
6cefd9c3e7 Merge remote-tracking branch 'source/master' into dev-lndrpc 2018-05-16 04:50:46 -05:00
rockstardev
a0243fa569 Lnd support for passing macaroon and tls as hex 2018-05-14 22:18:08 -05:00
rockstardev
789b9168ad Adding Lnd to connection types and supporting parsing 2018-05-14 15:54:44 -05:00
rockstardev
7c29cb62ef Enabling dual support - clients with or without macaroons/tls 2018-05-14 15:05:03 -05:00
rockstardev
f97173e9e7 Testing invoice payment with Lnd 2018-05-12 00:43:13 -05:00
rockstardev
f8540dc78c Providing merchant_lnd and customer_lnd for testing 2018-05-11 16:59:24 -05:00
rockstardev
b03d271f85 Refactoring LndClient, enabling passing of Swagger instance 2018-05-11 14:07:46 -05:00
nicolas.dorier
b7f0ce18b3 Make sure Lightning charge can't hang out the payment 2018-05-12 00:23:25 +09:00
nicolas.dorier
786d129452 Make sure to not freeze if ligthning does not respond 2018-05-12 00:14:39 +09:00
nicolas.dorier
8e4943df65 low-medium speed policy 2018-05-11 22:12:45 +09:00
nicolas.dorier
bba268b5e2 Upgrade to .NET Core 2.1 2018-05-08 17:57:53 +09:00
rockstardev
fcfba7f5e1 Refactoring connection to Lnd now there is HTTP support 2018-05-01 20:33:43 -05:00
lepipele
69050f7a56 Lnd sends some integers as strings, testing invoice creation 2018-04-28 12:49:56 -05:00
lepipele
1743919cd4 Conversion of LnrpcInvoice into LightningInvoice 2018-04-28 00:39:43 -05:00
lepipele
131328b42c Foundation integration with Lnd 2018-04-27 23:36:58 -05:00
lepipele
f32e225fa6 Generating Lnd wrapper using NSwag
https://github.com/lightningnetwork/lnd/blob/master/lnrpc/rpc.swagger.json
2018-04-27 23:36:58 -05:00
nicolas.dorier
77b42eb085 Do not forget to pass expiry to createinvoice on clightning 2018-04-11 18:42:19 +09:00
nicolas.dorier
ac9b8d03d7 Fix slow invoice creation 2018-04-09 16:25:31 +09:00
nicolas.dorier
9a6f85fa21 Prevent full crash if lightning crash 2018-04-09 10:48:16 +09:00
nicolas.dorier
d7cb6f1cca Add a way to customize lightning invoice description 2018-04-07 16:27:46 +09:00
nicolas.dorier
1048dd516b Pass itemDesc to lightning invoice (Fix #104) 2018-04-07 02:43:35 +09:00
nicolas.dorier
149c29963d Add Point of Sale feature to BTCPay 2018-04-03 16:58:47 +09:00
nicolas.dorier
15c58434e8 Renaming CreateInvoiceResponse to CLightningInvoice 2018-03-29 12:54:07 +09:00
nicolas.dorier
daad1bdd25 Fix bug of lightning invoice notification spam at startup 2018-03-29 12:36:10 +09:00
nicolas.dorier
e23243565f Refactor CreateInvoiceCore to better give feedback on payment method errors to the merchant, be faster, and give NodeInfo 2018-03-28 22:37:01 +09:00