btcpayserver/BTCPayServer/Configuration
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
..
BTCPayServerOptions.cs Refactor TorService (#2388) 2021-04-18 11:26:06 +09:00
ConfigException.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
ConfigurationExtensions.cs Remove DB and Directory settings out of the BTCPayServerOptions (#2168) 2020-12-27 22:06:00 +09:00
DefaultConfiguration.cs Refactor TorService (#2388) 2021-04-18 11:26:06 +09:00
ExternalConnectionString.cs Update NBitcoin, NetworkType => ChainName, signet support (#2224) 2021-01-27 14:39:38 +09:00
ExternalService.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
ExternalServicesOptions.cs More Options refactoring (#2179) 2021-01-06 23:51:13 +09:00
LightningNetworkOptions.cs More Options refactoring (#2179) 2021-01-06 23:51:13 +09:00
NBXplorerConnectionSetting.cs Split Options in BTCPayOptions (#2175) 2021-01-02 13:44:28 +01:00
NBXplorerOptions.cs More Options refactoring (#2179) 2021-01-06 23:51:13 +09:00