btcpayserver/BTCPayServer/Hosting
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
..
BlockExplorerLinkStartupTask.cs Plugins: Allow creation of independent DbContexts 2020-11-18 12:27:26 +01:00
BTCpayMiddleware.cs Rewrite the condition to show Onion-Location in a more readable way 2021-01-05 13:44:08 +09:00
BTCPayServerServices.cs Refactor TorService (#2388) 2021-04-18 11:26:06 +09:00
HeadersOverrideMiddleware.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
MigrationStartupTask.cs Refactor how we handle and validate LN ConnectionStrings (#2314) 2021-03-02 11:11:58 +09:00
ResourceBundleProvider.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
SkippableObjectValidatorProvider.cs Add Label and accountKeyPath to the on chain payment methods (#2166) 2020-12-28 13:59:01 +01:00
Startup.cs Refactor domain mapping (#2407) 2021-03-30 11:47:03 +09:00