Commit Graph

28 Commits

Author SHA1 Message Date
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