Commit Graph

5 Commits (2a0fc3f2782655a22761f99c1764c91e772fbd10)

Author SHA1 Message Date
Thomas Eizinger c2daf7a11e
Make use of torut's errors implementing `std::error::Error`
Anyhow all the things!
3 years ago
Daniel Karzel ca6b889632
Remove dead code 3 years ago
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.
3 years ago
Daniel Karzel 43d05935e7 Remove tor module 4 years ago
Philipp Hoenisch 17b32fed90
Moving tor into swap 4 years ago