mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-11 09:34:21 +01:00
This commit adds a new method to call DEL_ONION when lnd is shutting down. Tor controller will now be aware of the active serviceID and removes the service upon shutdown.
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