lnd.xprv/torsvc
nsa 8c482f2be7 multi: Added a NetInterface to clean up config.go
This commit adds a new interface named NetInterface and two
implementations of it: RegularNet & TorProxyNet. These two structs
are used in config.go in an attempt to clean up the code and
abstract away the dialer and DNS functions.
2018-02-05 17:37:46 -08:00
..
README.md torsvc: Added new module to house Tor functions 2018-02-05 17:37:46 -08:00
torsvc.go multi: Added a NetInterface to clean up config.go 2018-02-05 17:37:46 -08:00

torsvc

The torsvc package contains utility functions that allow for interacting with the Tor daemon. So far, supported functions include routing all traffic over Tor's exposed socks5 proxy and routing DNS queries over Tor (A, AAAA, SRV). In the future more features will be added: automatic setup of v2 hidden service functionality, control port functionality, and handling manually setup v3 hidden services.

Installation and Updating

$ go get -u github.com/lightningnetwork/lnd/torsvc