mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-20 18:50:32 +01:00
e132ad8433
This commit adds a new module named 'torsvc' which houses all Tor functionality in an attempt to isolate it and make it reusable in other projecs. Some additional tweaks were made to config.go and to the bootstrapper.
16 lines
515 B
Markdown
16 lines
515 B
Markdown
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
|
|
|
|
```bash
|
|
$ go get -u github.com/lightningnetwork/lnd/torsvc
|
|
```
|