Commit graph

19 commits

Author SHA1 Message Date
Jonathan Underwood
ee0fa71605
Refactor TorService (#2388)
* TorServices Refactor to make value passing easier

* Allow specifying Tor services through config

Format:

BTCPAY_TORSERVICES: "BTCPAYSERVER:URL.ONION:VIRTUALPORT;BTC-P2P:URL.ONION:VIRTUALPORT;BTC-RPC:URL.ONION:VIRTUALPORT;SOMEOTHERONIONSERVICE:URL.ONION:VIRTUALPORT"

* add tests

* Optimize Tor Services loader and ensure it is loaded as a hosted service

* Remove Task from Tor service loader

* Use options to parse Tor services

* Fix booboo

* Fix test after fixing booboo

* Adding timeout on long running CanEnumeratetorServices test

(cherry picked from commit 274b77e3175960158b803410037e2c7ff31984be)

* Renaming timeout variable to better name

* Only allow one of torrcfile or torservices

Co-authored-by: Kukks <evilkukka@gmail.com>
Co-authored-by: rockstardev <rockstardev@users.noreply.github.com>
2021-04-18 11:26:06 +09:00
rockstardev
f88c02cccd Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
nicolas.dorier
51514252b6
Run dotnet format 2020-06-28 17:55:27 +09:00
Andrew Camilleri
79b034b505
GreenField: Add properties to Store API (#1573)
* GreenField: Add properties to Store API

* Update StoreBaseData.cs

* fix api

* fix swagger
2020-05-24 04:13:18 +09:00
rockstardev
9b3e7338ba Fixing broken CrowdfundTests.CanContributeOnlyWhenAllowed test 2019-11-14 20:56:28 -06:00
nicolas.dorier
c7da4e3eff
Add TestTimeouts 2019-11-14 17:14:08 +09:00
nicolas.dorier
1c9a91140b
Asyncify tests 2019-10-07 16:04:25 +09:00
nicolas.dorier
067dbad546 Fix build 2019-03-05 17:29:52 +09:00
nicolas.dorier
d818baa6d1 Fix crowdfund test 2019-02-25 17:56:29 +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
Kukks
f2630df387 dispose streamer properly 2019-01-14 08:21:27 +01:00
Kukks
6e7f1151bc bug fixes and optimizations 2019-01-05 19:47:39 +01:00
Kukks
2ccf007b9a fix permissions 2019-01-05 09:38:27 +01:00
Kukks
493466683c start adding UTs 2019-01-04 16:42:35 +01:00