Commit Graph

636 Commits

Author SHA1 Message Date
nicolas.dorier
c3a7ab647c Increase reliability of test CanScheduleBackgroundTasks 2019-04-05 15:16:36 +09:00
nicolas.dorier
92da0ec2d2 fix tests 2019-04-05 14:59:46 +09:00
nicolas.dorier
73d5415ea9 Use NBitcoin's socks implementation 2019-03-31 13:16:05 +09:00
nicolas.dorier
e5a26cfca8 Update dependencies 2019-03-31 12:08:08 +09:00
nicolas.dorier
1a122726b7 Add more timeout for lightning tests 2019-03-27 18:57:51 +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
e79334a6f6 Fix: if anyone can create invoice and /invoices has storeId parameters, then it should be allowed 2019-03-25 12:59:42 +09:00
nicolas.dorier
be90172840 bump Microsoft.AspNetCore.App 2019-03-20 14:13:12 +09:00
nicolas.dorier
b85ee895f5 Update nbxplorer in the tests 2019-03-20 14:08:25 +09:00
nicolas.dorier
abbdbda03a Add Bitbank provider 2019-03-20 00:49:44 +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
ea02d77e69 Parse torrc file to know virtual port of hidden services 2019-03-17 20:49:26 +09:00
nicolas.dorier
23f296ef34 The store owner can define default currency pairs when using rate API without parameter 2019-03-11 18:39:21 +09:00
nicolas.dorier
cd6ce401e1 Fix logs getting spammed by HTTP requests 2019-03-07 19:41:19 +09:00
nicolas.dorier
067dbad546 Fix build 2019-03-05 17:29:52 +09:00
nicolas.dorier
522970fdb9 Fix build 2019-03-05 17:21:44 +09:00
nicolas.dorier
051248f2fc Add CancellationToken to GetRatesAsync and propagate it from the controllers to the rate fetcher 2019-03-05 17:09:17 +09:00
nicolas.dorier
9a239f99f4 Add bylls as supported exchange 2019-03-05 16:07:23 +09:00
nicolas.dorier
420115c54d bump nbx 2019-03-03 01:37:34 +09:00
nicolas.dorier
312e961098 Update c-lightning, nbxplorer and lightning libs 2019-03-02 23:38:26 +09:00
nicolas.dorier
d898f716d1 Add some tests on externalConnectionString 2019-03-01 14:33:32 +09:00
nicolas.dorier
d818baa6d1 Fix crowdfund test 2019-02-25 17:56:29 +09:00
Kukks
ad25a2ed08 Add payment requests 2019-02-25 17:56:28 +09:00
nicolas.dorier
d99774f8d9 fix tests 2019-02-22 22:52:43 +09:00
nicolas.dorier
d563a2ec89 Fix tests 2019-02-22 22:48:39 +09:00
nicolas.dorier
6ba17e8e30 Can filter supported payment methods for an invoice 2019-02-21 19:34:11 +09:00
nicolas.dorier
15094436fd bump lnd 2019-02-20 21:29:16 +09:00
nicolas.dorier
119f82fd4e Properly aggregate contributions amount 2019-02-19 16:15:14 +09:00
nicolas.dorier
3bbf4de5d2 Fix live update of crowdfunding, add tests, consider payments as confirmed if invoice is confirmed 2019-02-19 16:01:28 +09:00
nicolas.dorier
cc444811db Rename CrowdfundHubStream to AppHubSteamer 2019-02-19 13:18:30 +09:00
nicolas.dorier
aedad497e8 Rename AppsHelper to AppService 2019-02-19 13:04:58 +09:00
nicolas.dorier
b1b231e645 Add tests on tagging 2019-02-19 12:59:12 +09:00
nicolas.dorier
6226de7cff Refactor Crowdfund to use the tagging system 2019-02-19 12:48:48 +09:00
nicolas.dorier
0eee8e7464 Returns Access-Control-Allow-Origin * on all Bitpay GET and post requests. 2019-02-02 16:12:51 +09:00
nicolas.dorier
6725be8145 Remove warnings 2019-01-29 18:35:27 +09:00
nicolas.dorier
f5b693f01b Disable quadricagx tests because exchange is down 2019-01-29 18:34:30 +09:00
Andrew Camilleri
0c5b5ff49c Add link to no stores error (#558)
* add link

* safer status message

* refactor

* small view cleanup
2019-01-29 16:44:46 +09:00
Andrew Camilleri
30bdfeee37 Enhance PosData Viewer & add cart to posdata in POS app (#559) 2019-01-26 13:26:49 +09:00
nicolas.dorier
24c8c076d5 Add taxIncluded field in invoice 2019-01-24 20:53:29 +09:00
nicolas.dorier
49643cb00e Make CanScheduleBackgroundTasks more robust 2019-01-19 21:19:15 +09:00
nicolas.dorier
d85f03ba20 Remove HangFire dependency 2019-01-16 19:15:09 +09:00
nicolas.dorier
c9d778c94b Bump nbitcoin and nbxplorer 2019-01-16 15:16:41 +09:00
Nicolas Dorier
8f896de794
Merge pull request #516 from Kukks/feature/crowdfund
Crowdfund Bug fixes
2019-01-15 23:57:29 +09:00
nicolas.dorier
c333902468 Round up invoice price 2019-01-15 22:12:29 +09:00
Kukks
f2630df387 dispose streamer properly 2019-01-14 08:21:27 +01:00
Andrew Camilleri
a87c2a3374 Merge remote-tracking branch 'origin/master' into feature/crowdfund 2019-01-10 09:50:22 +01:00
nicolas.dorier
82d286dc6f Fix test 2019-01-10 14:00:26 +09:00
nicolas.dorier
afc90f32c9 Fix tests 2019-01-10 13:47:21 +09:00
Kukks
561ec57cc8 Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-07 11:13:02 +01:00
Nicolas Dorier
3cefd7bd1e
Merge pull request #467 from Kukks/feature/coinswitch
CoinSwitch Integration
2019-01-07 19:11:55 +09:00
Kukks
c63feb488c Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-07 10:58:52 +01:00
nicolas.dorier
4b982f815c Renaming 2019-01-07 15:35:18 +09:00
Nicolas Dorier
d4d3346b6d
Merge pull request #463 from sipsorcery/455-disablereg
Set disable registration as default true
2019-01-07 15:20:04 +09:00
Aaron Clauson
6010a103e0 Added new disable-registration command line option. 2019-01-06 16:43:55 +01:00
Kukks
20a6b3fc33 Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-06 10:25:24 +01:00
Nicolas Dorier
540414d8f5
Merge pull request #495 from Kukks/crowdfund-part-3
Enhance Invoice Events
2019-01-06 18:14:56 +09:00
Kukks
5076d73695 Enhance Invoice Events 2019-01-06 10:12:45 +01:00
nicolas.dorier
42892e24f4 Remove uneeded database call during derivation scheme registration 2019-01-06 17:58:11 +09:00
Kukks
e6357d2ac8 fix build 2019-01-06 09:29:21 +01:00
Kukks
1eecd85ceb Merge branch 'master' into feature/crowdfund 2019-01-06 09:26:58 +01:00
nicolas.dorier
88150b6535 Improve IPN tests 2019-01-06 15:04:30 +09:00
Kukks
6e7f1151bc bug fixes and optimizations 2019-01-05 19:47:39 +01:00
Kukks
fb6d852827 switc back to regtest 2019-01-05 10:18:01 +01:00
nicolas.dorier
a05cd5678b Add support for removing network fee on first payment 2019-01-05 17:45:49 +09:00
Kukks
2ccf007b9a fix permissions 2019-01-05 09:38:27 +01: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
Kukks
493466683c start adding UTs 2019-01-04 16:42:35 +01:00
Kukks
26f0c488e5 hook up proper payments to events and super crazy ux shit 2018-12-28 23:12:16 +01:00
Kukks
444e761d41 Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch 2018-12-28 12:33:55 +01:00
nicolas.dorier
e08710a19c Fix tests 2018-12-27 16:11:58 +09:00
Mario Dian
c7e90cd7df New PoS design 2018-12-27 12:57:31 +08:00
Nicolas Dorier
a3b79fbcd8
Merge pull request #462 from rockstardev/master
InvoiceDue field in export
2018-12-26 16:47:38 +09:00
nicolas.dorier
a63ed4d3b4 bump 2018-12-21 16:45:05 +09:00
Kukks
fc9cd5bdf0 Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch 2018-12-20 17:57:04 +01:00
nicolas.dorier
d0f585df9d fix tests 2018-12-20 21:34:09 +09:00
nicolas.dorier
bac2db5cda Add timeout to lightning tests 2018-12-20 21:27:08 +09:00
nicolas.dorier
c35bf2f483 fix docker compose 2018-12-20 21:23:24 +09:00
nicolas.dorier
2e04c5e39c Update docker-compose test 2018-12-20 21:20:30 +09:00
nicolas.dorier
9dcf16e819 Add xunit diagnostic message 2018-12-20 21:00:06 +09:00
nicolas.dorier
5f16fb4668 report slow tests 2018-12-20 18:44:39 +09:00
nicolas.dorier
4bf2228675 Show test logs in CircleCI 2018-12-20 18:35:32 +09:00
Kukks
3e2ff55954 Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch 2018-12-19 10:41:36 +01:00
rockstardev
365ee4cf0b Fixing CSV test now that we have new field / reorders 2018-12-18 12:35:59 -06:00
rockstardev
7a9229628a InvoiceDue field in export 2018-12-18 11:56:12 -06:00
nicolas.dorier
9db5c0f375 Hack tests to make currency formatting work on linux 2018-12-19 00:28:06 +09:00
nicolas.dorier
660f43e3b7 Add fast test for JPY formatting 2018-12-18 23:26:35 +09:00
nicolas.dorier
0ba96aa4b8 Fix export tests 2018-12-18 23:24:22 +09:00
nicolas.dorier
d85247d2ad Run tests inside container 2018-12-18 22:35:58 +09:00
nicolas.dorier
bb0f986b0c Add additional test on euro formatting 2018-12-18 19:09:55 +09:00
nicolas.dorier
2c2a85327f Add test logs 2018-12-18 01:02:27 +09:00
nicolas.dorier
7a4dee3d38 Point of Sale returns correct currency information (#450) 2018-12-18 00:25:17 +09:00
britttttk
864e84706a check for disable flag 2018-12-11 22:18:17 -07:00
Kukks
c00c95efcf initial coinswitch work 2018-12-11 12:47:38 +01:00
nicolas.dorier
8472bfe90d Add test for bad bitid signature 2018-12-07 14:34:07 +09:00
nicolas.dorier
6e27233be8 Remove BIP70 support 2018-12-06 17:08:28 +09:00
nicolas.dorier
9209984a2f Remove useless argument from GetInvoice 2018-12-06 17:05:27 +09:00
David
861150971f bump 2018-12-01 10:15:57 +00:00
nicolas.dorier
705dbf12d7 Change translation of the expiration screen 2018-12-01 13:19:35 +09:00
rockstardev
a89da1f705 Recoding test to respect new ordering in CSV 2018-11-30 04:34:18 -06:00
rockstardev
7b47b96252 Always using quotes for CSV export 2018-11-30 03:15:23 -06:00
rockstardev
8509a0de18 Basic export CSV and JSON tests 2018-11-30 02:34:43 -06:00
Mario Dian
1831692761 Enable shopping cart, add items to cart, enable tips (#410)
Modal cart, remove items, checkout

Fix removal and adding of cart items

Improve cart UI

Add cart bundle, remove unused js files from the view when cart isn't used

Do not enable cart by default

Do not put modal into the view when the cart is disabled

Escape js properties

Work with amounts as cents

Make animation speed look constant

Enable tips in the cart

Fix cart UI
2018-11-27 15:14:32 +09:00
Andrew Camilleri
e144d2479b Add POS Data to Invoice UI (#409)
* Add POS Data in Invoice UI

* fix build

* extract in helper and add UTs

* add in unit test coverage through mvc view too
2018-11-27 15:13:09 +09:00
nicolas.dorier
c25831316e bump nbx 2018-11-26 12:02:50 +09:00
nicolas.dorier
60b72aabe8 fix test 2018-11-24 13:38:23 +09:00
nicolas.dorier
1aaa55dc62 Make test less flaky 2018-11-23 13:09:30 +09:00
nicolas.dorier
a1eb6a14f5 Fix all script because of docker-compose team screwing up (https://github.com/docker/compose/issues/6316) 2018-11-22 16:16:10 +09:00
nicolas.dorier
0096ec1d12 bump nbxplorer 2018-11-21 20:41:51 +09:00
Rockstar Developer
9d21c89151 Preserving title with custom amount (#403)
* Preserving title with custom amount

* Custom button texts for complete localization

* Update tests, now checking custom amount description and button text

* Support for Custom CSS in POS
2018-11-17 11:39:43 +09:00
nicolas.dorier
24a8c4015c Bump 2018-11-17 11:35:20 +09:00
nicolas.dorier
36f486e91b Add test for the parser 2018-11-17 01:45:59 +09:00
nicolas.dorier
401d9c8565 DerivationSchemeParser should not override a label 2018-11-17 01:21:34 +09:00
nicolas.dorier
d030a61322 bump 2018-11-17 00:16:31 +09:00
nicolas.dorier
4af5b94013 Add tooling which pull transifex translation automatically, add Slovenčina. (Close #386) 2018-11-14 16:48:25 +09:00
David
abfcab552f bump (#384) 2018-11-09 17:34:30 +09:00
Andrew Camilleri
c9c7316b7d Logs UI in Server Admin (#374)
* add in ui

* add in logging viewer

* Revert "add in ui"

This reverts commit 9614721fa8.

* finish basic feature

* clean up

* improve and fix build

* add in debug log level command option

* use paging for log file list, use extension to select log files, show message for setting up logging

* make paging a little better

* add very basic UT for logs

* Update ServerController.cs
2018-11-07 22:29:35 +09:00
nicolas.dorier
6fd37710e1 Rename validators namespace 2018-11-06 15:38:07 +09:00
nicolas.dorier
dd7c4850f0 bump nbxplorer 2018-11-05 14:12:05 +09:00
nicolas.dorier
15d9adfbf1 Fix rate fetching for kraken doge and dash 2018-11-05 12:14:39 +09:00
nicolas.dorier
b423b4eec1 Do not allow rescan of wallet which are not segwit 2018-11-04 14:59:28 +09:00
nicolas.dorier
a57a72de88 bump clightning 2018-11-02 19:02:07 +09:00
nicolas.dorier
235b307b06 bump deps 2018-11-02 18:05:48 +09:00
nicolas.dorier
05b0f6d0f7 Fix invoice search not working on transaction id 2018-11-02 14:26:13 +09:00
nicolas.dorier
0d51c99717 Properly configure the logger to log what happen in ConfigureServices, add https profile adapted for debugging ledger wallet. 2018-11-01 12:52:32 +09:00
nicolas.dorier
38edbf8362 Improve token UX (Fix #353) 2018-10-31 17:59:09 +09:00
nicolas.dorier
bc0acf5701 make test more reliable 2018-10-31 16:57:31 +09:00
nicolas.dorier
a82f181126 Reactivate cryptopia 2018-10-31 13:31:03 +09:00
nicolas.dorier
4db5b4f2b1 Wait for the nodes to be fully synched before starting tests 2018-10-31 13:06:17 +09:00
nicolas.dorier
93cefced80 bump .NET core and dependencies 2018-10-31 13:03:12 +09:00
nicolas.dorier
85f586f623 bump dependencies 2018-10-31 11:56:21 +09:00
nicolas.dorier
2be1f97419 Remove cryptopedia as direct provider, add estimated time to wallet rescan page, bump nbx 2018-10-30 15:40:27 +09:00
nicolas.dorier
d3b3198b68 For lightning payments tests, add small delay after creating the invoice before sending the payment 2018-10-29 00:22:30 +09:00
nicolas.dorier
c1f17ff63b Add some test logs to flaky test 2018-10-28 23:43:48 +09:00
Andrew Camilleri
f51af6c61c fix issue with changelly rates and cover with UTs (#368) 2018-10-28 23:07:36 +09:00
nicolas.dorier
254db22063 Change test trait name 2018-10-28 22:51:02 +09:00
nicolas.dorier
8be4256278 Fix unreliable tests 2018-10-28 22:46:03 +09:00
nicolas.dorier
4625ff92f1 Run unreliable tests, attempt to make them a bit more reliable 2018-10-28 22:10:37 +09:00
nicolas.dorier
6aa84326af Make sure tests run sequentially 2018-10-28 21:46:12 +09:00
nicolas.dorier
7f16aa8c7e Run only fast tests on CI 2018-10-28 20:59:59 +09:00
nicolas.dorier
c46c15c258 Fix changelly tests 2018-10-28 01:10:07 +09:00
nicolas.dorier
ae152c3ffa bump NBXplorer 2018-10-27 23:30:57 +09:00
nicolas.dorier
e2ff33d7db Document how to test mysql 2018-10-27 23:20:50 +09:00
Aaron Clauson
ce94c05fd3 MySQL Support (#345)
* MySQL EF support added using Pomelo MySQL provider.

* MySQL EF support added using Pomelo MySQL provider.
2018-10-27 23:15:21 +09:00
nicolas.dorier
9cde4dc7e2 Restart containers if crash 2018-10-27 23:14:26 +09:00
Andrew Camilleri
3bb059ab74 refactor changelly & improve tests (#366) 2018-10-27 22:41:07 +09:00
nicolas.dorier
2896a9b26f Add ScanUTXOSet support 2018-10-26 23:07:39 +09:00
nicolas.dorier
9267a45449 Remove useless test 2018-10-26 19:07:19 +09:00
nicolas.dorier
c430d470c4 Fix warnings and bump nbxplorer 2018-10-26 19:06:06 +09:00
nicolas.dorier
3921a3ca22 Fix warnings, update libs 2018-10-26 18:36:58 +09:00
Andrew Camilleri
4b976c13c1 Changelly v2 (#343)
* Disable shapeshift and use changelly

* UI to manage changelly payment method

* wip on changelly api

* Add in Vue component for changelly and remove target currency from payment method

* add changelly merhcant id

* Small fixes to get Conversion to load

* wip fixing the component

* fix merge conflict

* fixes to UI

* remove debug, fix fee calc and move changelly to own partials

* Update ChangellyController.cs

* move original vue setup back to checkout

* Update core.js

* Extracting Changelly component to js file

* Proposal for loading spinner

* remove zone

* imrpove changelly ui

* add in changelly config checks

* try new method to calculate amount + remove to currency from list

* abstract changelly lofgic to provider and reduce dependency on js component

* Add UTs for Changelly

* refactor changelly backend

* fix failing UT

* add shitcoin tax

* pr changes

* pr changes

* WIP: getting rid of changelly dependency

* client caching, compiling code, cleaner code

* Cleaner changelly

* fiat!

* updat i18n, css and error styler

* default keys

* pr changes part 1

* part2

* fix tests

* fix loader alignment and retry button responsiveness

* final pr change
2018-10-24 14:52:19 +09:00
nicolas.dorier
f68d4efcdd update to 0.17.0 2018-10-19 19:05:12 +09:00
nicolas.dorier
f419c56a3c Revert "Changelly Support (#267)"
This reverts commit a5fca7a1c4.
2018-10-18 12:27:46 +09:00
Andrew Camilleri
a5fca7a1c4 Changelly Support (#267)
* Disable shapeshift and use changelly

* UI to manage changelly payment method

* wip on changelly api

* Add in Vue component for changelly and remove target currency from payment method

* add changelly merhcant id

* Small fixes to get Conversion to load

* wip fixing the component

* fix merge conflict

* fixes to UI

* remove debug, fix fee calc and move changelly to own partials

* Update ChangellyController.cs

* move original vue setup back to checkout

* Update core.js

* Extracting Changelly component to js file

* Proposal for loading spinner

* remove zone

* imrpove changelly ui

* add in changelly config checks

* try new method to calculate amount + remove to currency from list

* abstract changelly lofgic to provider and reduce dependency on js component

* Add UTs for Changelly

* refactor changelly backend

* fix failing UT

* add shitcoin tax

* pr changes

* pr changes
2018-10-18 12:13:39 +09:00
Esky33
e18d0b5d51 Updating Yaml (#336) 2018-10-17 13:30:43 +09:00
nicolas.dorier
e1751c4d91 [Fix] Querying rate with authenticated request should be successfull 2018-10-15 18:11:20 +09:00
nicolas.dorier
f05614f4da bump 2018-10-11 00:51:43 +09:00
nicolas.dorier
a10c382bd4 [Tests] return WalletId when registering scheme 2018-10-10 00:13:37 +09:00
nicolas.dorier
a28814bc0e Fix RateRules crash if dups 2018-10-09 23:43:03 +09:00
nicolas.dorier
3cff8261ae Set the id for apps only to 20 bytes, and output the Id in the controller so we can use it in tests 2018-10-09 23:38:56 +09:00
nicolas.dorier
57ab001c0c [Tests] Pass Port to the fake http context 2018-10-09 23:32:47 +09:00
nicolas.dorier
3d85dace38 Move currency display method into CurrencyNameTable 2018-10-09 23:30:26 +09:00
nicolas.dorier
f94ff4cc74 Update dotnet version + nbxplorer 2018-10-02 19:33:25 +09:00
nicolas.dorier
b750663a1f update lnd/clightning 2018-09-28 17:08:51 +09:00
rockstardev
92ea923c03 Updating reference to Bitcoin docker image 2018-09-22 01:11:14 -05:00
nicolas.dorier
15c29f8419 Update dependencies 2018-09-09 23:04:16 +09:00
rockstardev
e39d9067f2 Updating Unit tests 2018-09-08 14:53:41 +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
24979a0af2 add lnd trickledelay 2018-08-28 18:13:28 +09:00
nicolas.dorier
be1a44f018 Fix bug in LND client 2018-08-28 18:06:07 +09:00
nicolas.dorier
6c51d83f61 Fix tests 2018-08-25 15:49:04 +09:00
nicolas.dorier
29af07b3f9 Make sure we do not return outdated rates 2018-08-23 13:47:56 +09:00
nicolas.dorier
f12114f9aa Poll and cache rates in parallel 2018-08-23 00:24:33 +09:00
nicolas.dorier
87d384dba5 Decouple RateProviderFactory with RateFetcher 2018-08-22 16:53:40 +09:00
nicolas.dorier
4f5a8f7953 Use direct provider for Kraken, update packages 2018-08-21 15:59:57 +09:00
nicolas.dorier
8728356698 Use HttpClientFactory for coinaverage 2018-08-21 14:33:13 +09:00
nicolas.dorier
9c30476fc8 Making BTCPayServer a bit faster when creating invoices 2018-08-21 13:54:52 +09:00
nicolas.dorier
214b2d1c1c Fix SSH fingerprint checking 2018-08-13 09:43:59 +09:00
nicolas.dorier
39b018fdf3 fix test 2018-08-01 18:42:28 +09:00
nicolas.dorier
83304de1c6 Remove the concept of "Rate multiplier" and replace it with the concept of "Spread" 2018-08-01 18:38:46 +09:00
nicolas.dorier
7a32f692d1 Add test for Disabling PaymentMethod 2018-07-31 00:18:58 +09:00
nicolas.dorier
3775317047 Fix CanGetRates test, and fix #178 2018-07-30 23:22:26 +09:00
Andrew Camilleri
faabd68f6f Merge remote-tracking branch 'origin/master' into feature/bitpayrates 2018-07-27 11:16:52 +02:00
nicolas.dorier
0dcda0f289 Fix: Inverse rule was not found in BTCPay with X_X 2018-07-27 18:04:41 +09:00
Andrew Camilleri
f3edaf5160 Merge remote-tracking branch 'btcpayserver/master' into feature/bitpayrates 2018-07-27 05:57:25 +02: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
ce17e3212a Can delete stores 2018-07-19 19:31:17 +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
0c8925d2a2 Correctly dispose the session when listening lightning invoices 2018-07-14 01:45:14 +09:00
nicolas.dorier
94a6f20a05 Refactor the LndInvoiceClient which might solve memory leak 2018-07-13 19:45:50 +09:00
nicolas.dorier
563e931468 simplify the docker-compose 2018-07-11 10:42:20 +09:00
nicolas.dorier
3113097c4f Update to https, use new dockerfile 2018-07-10 19:33:54 +09:00
nicolas.dorier
1a1078782e Suppoort macaroonfilepath in connection string 2018-07-10 12:46:04 +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
1784c30787 Merge remote-tracking branch 'source/master' into dev-lndrpc
# Conflicts:
#	BTCPayServer.Tests/UnitTest1.cs
2018-06-26 01:08:01 -05:00
nicolas.dorier
3d8c5195ae Update CLightning and charge 2018-06-26 14:18:47 +09:00
rockstardev
9a5259510b Merge remote-tracking branch 'source/master' into dev-lndrpc 2018-06-25 22:31:42 -05:00
rockstardev
d34ffc0d9a Refactoring conditional method, separating into two properties 2018-06-23 22:50:50 -05:00
nicolas.dorier
db24ab792f update clightning 2018-06-18 23:07:55 +09:00
rockstardev
42475ec7b7 Switching to lnd image from Docker Hub 2018-06-15 18:28:01 -05:00
rockstardev
4972f0ab7b Labeling issue with rapid testing of lightning payments 2018-06-15 18:27:37 -05:00
rockstardev
07e13747cf Merge remote-tracking branch 'source/master' into dev-lndrpc 2018-06-15 17:21:21 -05:00
rockstardev
2465eb7e36 Revering debug param 2018-06-15 17:20:56 -05:00
rockstardev
4ddcd7a4c8 Will depend on lnd bitcoin.defaultremotedelay=720 param
Ref: https://github.com/lightningnetwork/lnd/pull/788
2018-06-15 17:14:20 -05:00
rockstardev
66ecb32538 Need param so that funding channels can be opened between LND and CL 2018-06-15 16:29:09 -05:00
rockstardev
a22576da0a Streamlining flow of interaction between test lnd customer / merchant 2018-06-15 15:56:02 -05:00
rockstardev
69bd888bab Refactoring ServerTester so that ClightningRPCClient can use LND 2018-06-15 15:02:40 -05:00
rockstardev
9b540273fc Parsing of node info and returning it for GetInfo 2018-06-15 13:57:39 -05:00
rockstardev
cfd083bed5 Providing port for peer-to-peer connection for local tests 2018-06-15 11:53:53 -05:00
rockstardev
55c9314cdd Reference to lnd docker image updated to point to latest
Also helps with building image locally for debugging
2018-06-15 11:53:34 -05:00
Andrew Camilleri
8cafa8a483 Merge remote-tracking branch 'origin/master' into feature/bitpayrates 2018-06-12 15:34:09 +02:00
nicolas.dorier
04174b7431 Fix authentication 2018-06-06 16:02:37 +09:00
nicolas.dorier
b7c58c2083 Fix bug of authentication caused by previous refactoring on authentication 2018-06-06 14:46:41 +09:00
Andrew Camilleri
724af44e41
Merge branch 'master' into feature/bitpayrates 2018-06-04 15:09:14 +02:00
rockstardev
f8c88bd44f Providing ability to increase lightning timeout for tests/debugging 2018-05-31 16:31:39 -05:00
rockstardev
d1fb51b412 Reactivating LND end to end test 2018-05-31 16:07:59 -05:00
rockstardev
ce9189caf8 Listen / WaitInvoice for Lnd 2018-05-31 15:08:22 -05:00
rockstardev
431147784e Merge branch 'master' into dev-lndrpc 2018-05-31 12:11:31 -05:00
nicolas.dorier
0697b8bf86 update images 2018-05-31 23:54:03 +09:00
nicolas.dorier
665cf4c3b1 Updating BTCPayServer to .NET Core 2.1 2018-05-31 18:41:03 +09:00
Andrew Camilleri
bac9ef4f93 add some UT and fix error message + bump Nbitpayclient 2018-05-29 17:12:07 +02:00
rockstardev
e634700913 Changing the way we signal that LightningConnectingString is Lnd 2018-05-25 12:18:47 -05:00
rockstardev
ce81136c88 Adding LndMockTester for passing end to end tests 2018-05-25 10:44:59 -05:00
nicolas.dorier
a97ef2eee8 MinerFee matching Bitpay API 2018-05-25 22:49:49 +09:00
nicolas.dorier
dec5dbc0d2 Ability to pass fields to POS app #181 2018-05-24 23:54:48 +09:00
nicolas.dorier
4e32dad1ea Can solve inverses at exchange level 2018-05-23 19:29:01 +09:00
nicolas.dorier
127ca7582f Make sure inverse rules have priority 2018-05-23 19:13:12 +09:00
nicolas.dorier
ba3d13d56c Make sure the rate of the merchant is using the ask of a divided exchange 2018-05-23 02:18:38 +09:00
rockstardev
a063f10778 Checking for nulls during channel opening in tests 2018-05-20 10:27:11 -05:00
rockstardev
6cefd9c3e7 Merge remote-tracking branch 'source/master' into dev-lndrpc 2018-05-16 04:50:46 -05:00
Nicolas Dorier
a1ffda0151
Merge pull request #168 from Kukks/feature/extended-invoice
[WIP] Feature/extended invoice
2018-05-16 10:21:52 +09:00
nicolas.dorier
1747414a57 update clightning of docker compose 2018-05-16 01:37:20 +09:00
nicolas.dorier
3a02f16c6e Fix bug where exchange name in rate rules were uncorrectly considered a currency 2018-05-16 01:27:15 +09:00
Andrew Camilleri
a6ee337ed0 more coverage 2018-05-15 16:25:43 +02:00
Andrew Camilleri
559f535257 add some coverage for bitpay fields 2018-05-15 16:18:37 +02: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
Andrew Camilleri
de48fb4077 add direct file test cases 2018-05-14 09:34:19 +02:00
Andrew Camilleri
bcd79c5882 use alternative uri validation 2018-05-14 09:32:04 +02:00
nicolas.dorier
f7fe855274 Do not roundup rates 2018-05-13 15:09:17 +09:00
nicolas.dorier
449738414b Add cryptopia 2018-05-12 19:37:32 +09:00
rockstardev
f97173e9e7 Testing invoice payment with Lnd 2018-05-12 00:43:13 -05:00
rockstardev
8fc1b0c856 Ensuring lightning channel is open for testing 2018-05-12 00:23:10 -05:00
rockstardev
cabd7c4e64 Lnd requires zmqpubrawblock setting, and port 9735 for peer connections 2018-05-12 00:19:26 -05:00
rockstardev
f8540dc78c Providing merchant_lnd and customer_lnd for testing 2018-05-11 16:59:24 -05:00