Andrew Camilleri
81dae7d350
BTCPay Abstractions: Move PaymentMethod specific logic to their handlers ( #850 )
2019-05-29 23:33:31 +09:00
Andrew Camilleri
d3e3c31b0c
Btcpay abstract BTCPayNetwork -- Alternative PR to #865 ( #868 )
...
* BitcoinSpecificBtcPayNetwork - abstract BTCPayNetwork
* some type fixes
* fix tests
* simplify fetching handler in invoice controller
* rename network base and bitcoin classes
* abstract serializer to network level
* fix serializer when network not provided
* fix serializer when network not provided
* fix serializer when network not provided
* try fixes for isolating pull request
2019-05-29 18:43:50 +09:00
Nicolas Dorier
512ee16620
Refactor invoice entity to not have to inject the NetworkProvider ( #858 )
2019-05-24 22:22:38 +09:00
Andrew Camilleri
25b08b21fa
Provide Pretty descriptions for payment methods from their handlers ( #852 )
...
* small cleanup
* Provide Pretty descriptions for payment methods from their handlers
* remove PrettyMethod()
2019-05-24 15:38:47 +09:00
Andrew Camilleri
9bee48c601
small cleanup ( #851 )
2019-05-24 15:11:38 +09:00
nicolas.dorier
8973c75bbc
fix build
2019-04-11 10:06:36 +09:00
nicolas.dorier
60cd864226
Inject HttpClient inside lightning client instances
2019-04-11 01:10:46 +09:00
nicolas.dorier
73d5415ea9
Use NBitcoin's socks implementation
2019-03-31 13:16:05 +09:00
nicolas.dorier
3cce7b8b35
Refactor the lightning listener, some users complain payments are not detected (should fix #676 )
2019-03-27 15:53:38 +09:00
nicolas.dorier
2a302ea346
Do not spam logs if we can't connect to lightning because lightning is not started
2019-03-20 14:35:33 +09:00
nicolas.dorier
014d08f38a
Add socks support on BTCPay Server to query onion endpoints
2019-03-18 00:03:02 +09:00
nicolas.dorier
a4051dac72
Make sure BTCPay show TOR lightning node info if the site is accessed through TOR
2019-03-17 21:28:47 +09:00
nicolas.dorier
6e47babf45
Overpayment of lightning invoice now properly appears ( Fix #486 )
2019-03-14 18:48:05 +09:00
nicolas.dorier
c071c81403
Pass the whole Entity object to internal InvoiceEvent
2019-02-19 12:08:07 +09:00
nicolas.dorier
4945a640a7
Use PaymentHash of a lightning payment as PaymentId
2019-01-27 13:06:55 +09:00
Steven Horn
b28a547dc4
Grammatical corrections in exception messages
...
Fixed a few grammatical errors in LightningLikePaymentHandler.
2019-01-15 12:21:31 +00:00
Nicolas Dorier
63c309bd12
Merge pull request #499 from Kukks/node-info-page
...
Add Node Info Page
2019-01-07 22:04:08 +09:00
Kukks
12c418d84d
Add Node Info Page
2019-01-07 09:52:27 +01:00
nicolas.dorier
4b982f815c
Renaming
2019-01-07 15:35:18 +09:00
Kukks
5076d73695
Enhance Invoice Events
2019-01-06 10:12:45 +01:00
nicolas.dorier
a05cd5678b
Add support for removing network fee on first payment
2019-01-05 17:45:49 +09:00
nicolas.dorier
0f175174f6
Rename TxFee to NetworkFee and save the Network Fee of each payment under PaymentEntity
2019-01-05 13:31:05 +09:00
Andrew Camilleri
27fa2d5b69
do not add ln payment if amount couldn't be parsed
2018-12-20 09:21:20 +01:00
nicolas.dorier
93113fd871
Fix payment exports to reflect correctly payment data, rename fields.
2018-12-18 21:35:52 +09:00
nicolas.dorier
9209984a2f
Remove useless argument from GetInvoice
2018-12-06 17:05:27 +09:00
nicolas.dorier
8be4256278
Fix unreliable tests
2018-10-28 22:46:03 +09:00
nicolas.dorier
f5d81334f8
Remove Lightning Specific logic from BTCPay, and use BTCPayServer.Lightning packages instead
2018-08-30 12:24:00 +09:00
nicolas.dorier
be1a44f018
Fix bug in LND client
2018-08-28 18:06:07 +09:00
nicolas.dorier
0f1efc16f5
fx build
2018-08-27 18:45:05 +09:00
nicolas.dorier
da8a06952c
Fix bug about btcpay showing wrong port 0 as public lightning port for charge and clightning
2018-08-27 18:36:08 +09:00
nicolas.dorier
9c30476fc8
Making BTCPayServer a bit faster when creating invoices
2018-08-21 13:54:52 +09:00
nicolas.dorier
a2b039f983
Report errors of LND
2018-07-27 15:49:57 +09:00
nicolas.dorier
7afa726ddc
Fix, macaroonfilepath should be read in order to create the qr code
2018-07-23 12:20:11 +09:00
nicolas.dorier
624252e4ad
LightningConnectionString can parse gRPC
2018-07-23 11:11:00 +09:00
nicolas.dorier
022b4f115d
Expose LND gRPC settings
2018-07-22 18:38:14 +09:00
nicolas.dorier
1ee4bd9c92
Fix tests, and make sure Listen does not block for LND
2018-07-19 14:49:30 +09:00
nicolas.dorier
0e1ef78af1
Fix auth for listening invoices
2018-07-14 12:45:45 +09:00
nicolas.dorier
1ac17e96c3
Throw lnd exception if any issue with lnd
2018-07-14 02:56:36 +09:00
nicolas.dorier
0c8925d2a2
Correctly dispose the session when listening lightning invoices
2018-07-14 01:45:14 +09:00
nicolas.dorier
fe8428b8b0
make sure the LndInvoiceClientSession get disposed, even if it fails at initialization
2018-07-13 19:56:19 +09:00
nicolas.dorier
94a6f20a05
Refactor the LndInvoiceClient which might solve memory leak
2018-07-13 19:45:50 +09:00
nicolas.dorier
310a9a6d59
Remove ctor in LndSwaggerClient
2018-07-10 12:49:25 +09:00
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