Commit Graph

42 Commits

Author SHA1 Message Date
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
nicolas.dorier
39b34ff4ed Can invite user to manage your store 2018-03-23 16:24:57 +09:00
nicolas.dorier
f1c467aa7d Fix nodeinfo 2018-03-22 12:26:38 +09:00
nicolas.dorier
ae7cfe90ab Show the NodeInfo when testing connection 2018-03-22 12:02:38 +09:00
nicolas.dorier
6d611d7d05 Can connect directly to CLightning via TCP or UNIX socket 2018-03-21 00:31:19 +09:00
nicolas.dorier
392f3a16f1 Introduce LightningClientFactory 2018-03-20 12:10:35 +09:00
nicolas.dorier
2b2e12b290 Abstract ChargeClient to prepare for support of other lightning implementation 2018-03-20 11:59:43 +09:00
nicolas.dorier
acb2407654 Fix bug: Paying a lightning invoice might miss 1 satoshi due to rounding error 2018-03-18 02:26:33 +09:00
nicolas.dorier
09f97915d6 Fix charge listener bug, and decouple charge from clightning in test docker compose 2018-03-17 19:26:30 +09:00
nicolas.dorier
0d8affc68d Remove dependency on Eclair for tests 2018-03-17 17:02:47 +09:00
nicolas.dorier
b28b3ef4ff Fix: Invoice can't be paid in lightning anymore if lightning server sent error 2018-03-14 20:10:04 +09:00
nicolas.dorier
0f6ad75536 Remove internal exception thrown by NBitcoin 2018-03-13 15:28:39 +09:00
nicolas.dorier
6806d96baa Listen to all derivation schemes 2018-03-12 19:02:03 +09:00
nicolas.dorier
303a617f9e Improve invoice.cshtml display if offchain payment is present 2018-03-06 16:37:25 -05:00
nicolas.dorier
339cedadf7 Save a call to nbxplorer.GetStatus, update NBXplorer 2018-03-02 14:03:47 -05:00
practicalswift
649497e54f Fix typos 2018-03-01 15:11:30 +01:00
nicolas.dorier
bbf5fb3c30 show port if failing to connect to lightning node 2018-03-01 10:31:01 +09:00
nicolas.dorier
346cdf2431 show block gap if lightning node is not synched 2018-02-28 23:12:09 +09:00
nicolas.dorier
030cb09af8 Fix bug of address parsing for lightning 2018-02-28 22:56:12 +09:00
nicolas.dorier
5924f1730c Poll for charge invoice 2018-02-26 14:52:08 +09:00
nicolas.dorier
ef431f688f Make ChargeListener use only one websocket connection per url 2018-02-26 13:29:23 +09:00
nicolas.dorier
c8923af573 Lightning Network support implementation 2018-02-26 00:48:12 +09:00
nicolas.dorier
3d33ecf397 make IsAvailable async 2018-02-23 16:09:15 +09:00
nicolas.dorier
200e259b82 Add lightning dependencies to tests and docker-compose 2018-02-23 15:21:42 +09:00
nicolas.dorier
5e452a679e simplify code 2018-02-20 14:23:50 +09:00
nicolas.dorier
0e1a1fd2cd Remove dependencies in StoreController to on chain payment specific stuff 2018-02-20 12:45:04 +09:00
nicolas.dorier
3f07010de8 Rename IPaymentMethodFactory to ISupportedPaymentMethod 2018-02-20 10:44:39 +09:00
nicolas.dorier
2e45c8b190 Isolate PaymentMethodId in its own class, generalise DerivationStrategy 2018-02-19 23:13:23 +09:00
nicolas.dorier
b4f4401cdc remove unused code, remove derivationscheme specific logic from InvoiceEntity 2018-02-19 22:41:47 +09:00
nicolas.dorier
2f3238c65e Use decimal for calculations instead of Money, and round due amount at ceil satoshi 2018-02-19 18:54:21 +09:00
nicolas.dorier
a634593903 Big refactoring renaming cryptoData => PaymentMethod 2018-02-19 15:09:05 +09:00
nicolas.dorier
af94de93d1 Add some comments 2018-02-19 11:31:34 +09:00
nicolas.dorier
35f669aa15 Isolating code of on chain specific payment in its own folder 2018-02-19 11:06:08 +09:00
nicolas.dorier
aa4519ac30 Big refactoring for supporting new type of payment 2018-02-19 02:38:03 +09:00