btcpayserver/BTCPayServer.Common
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
..
Altcoins Allow Payjoin for wallet receive addresses (#2425) 2021-04-13 12:26:36 +09:00
Logging Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
BTCPayNetwork.cs Allow Payjoin for wallet receive addresses (#2425) 2021-04-13 12:26:36 +09:00
BTCPayNetworkProvider.Bitcoin.cs Fix block explorer links for signet 2021-04-03 09:19:36 +03:00
BTCPayNetworkProvider.cs Refactor TorService (#2388) 2021-04-18 11:26:06 +09:00
BTCPayServer.Common.csproj Update NBitcoin, NetworkType => ChainName, signet support (#2224) 2021-01-27 14:39:38 +09:00
CustomThreadPool.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
Extensions.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
Shims.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
SynchronizationContextRemover.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
ZipUtils.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00