mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
5155ebc405
Fixes #6013. This commit fixes the Tor healthcheck that would previously fail if there were multiple hidden service registered. In the controller, we only need to know that our service is contained in the list of active services. But we can't do a string equality check since there might be multiple services, comma separated. |
||
---|---|---|
.. | ||
cmd_info_test.go | ||
cmd_info.go | ||
cmd_onion_test.go | ||
cmd_onion.go | ||
controller_test.go | ||
controller.go | ||
log.go | ||
net.go | ||
onionaddr.go | ||
README.md | ||
tor_test.go | ||
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, HASHEDPASSWORD, and NULL authentication methods.
- Creating v2 and v3 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