xmr-btc-swap/swap/tests/harness
Philipp Hoenisch 632293cf91
Add support for swapping through Tor.
This PR does a few things.
* It adds a TorTransport which either dials through Tor's socks5 proxy or via clearnet.
* It enables ASB to register hidden services for each network it is listening on. We assume that we only care about different ports and re-use the same onion-address for all of them. The ASB requires to have access to Tor's control port.
* It adds support to dial through a local Tor socks5 proxy. We assume that Tor is always available on localhost.  Swap cli only requires Tor to be running so that it can send messages via Tor's socks5 proxy.
* It adds a new e2e test which swaps through Tor. For this we assume that Tor is currently running on localhost. All other tests are running via clear net.
2021-04-27 14:51:41 +10:00
..
bitcoind.rs Rename testutils to harness 2021-03-30 12:59:34 +11:00
electrs.rs Rename testutils to harness 2021-03-30 12:59:34 +11:00
mod.rs Add support for swapping through Tor. 2021-04-27 14:51:41 +10:00