mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
9ae0ac53a2
In this commit, we add a check for the Tor server's version number to ensure it supports creating v3 onion services through its control port. |
||
---|---|---|
.. | ||
controller_test.go | ||
controller.go | ||
net.go | ||
onionaddr.go | ||
README.md | ||
tor.go |
tor
The tor 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.
- Routing DNS queries over Tor (A, AAAA, SRV).
- Limited Tor Control functionality (synchronous messages only). So far, this
includes:
- Support for SAFECOOKIE authentication only as a sane default.
- Creating v2 onion services.
In the future, the Tor Control functionality will be extended to support v3 onion services, asynchronous messages, etc.
Installation and Updating
$ go get -u github.com/lightningnetwork/lnd/tor