Changeset View
Changeset View
Standalone View
Standalone View
doc/tor.md
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | |||||
Starting with Tor version 0.2.7.1 it is possible, through Tor's control socket | Starting with Tor version 0.2.7.1 it is possible, through Tor's control socket | ||||
API, to create and destroy 'ephemeral' hidden services programmatically. | API, to create and destroy 'ephemeral' hidden services programmatically. | ||||
Bitcoin Core has been updated to make use of this. | Bitcoin Core has been updated to make use of this. | ||||
This means that if Tor is running (and proper authentication has been configured), | This means that if Tor is running (and proper authentication has been configured), | ||||
Bitcoin Core automatically creates a hidden service to listen on. This will positively | Bitcoin Core automatically creates a hidden service to listen on. This will positively | ||||
affect the number of available .onion nodes. | affect the number of available .onion nodes. | ||||
This new feature is enabled by default if Bitcoin Core is listening (`-listen`), and | This new feature is enabled by default if Bitcoin ABC is listening (`-listen`), and | ||||
requires a Tor connection to work. It can be explicitly disabled with `-listenonion=0` | requires a Tor connection to work. It can be explicitly disabled with `-listenonion=0` | ||||
and, if not disabled, configured using the `-torcontrol` and `-torpassword` settings. | and, if not disabled, configured using the `-torcontrol` and `-torpassword` settings. | ||||
To show verbose debugging information, pass `-debug=tor`. | To show verbose debugging information, pass `-debug=tor`. | ||||
Connecting to Tor's control socket API requires one of two authentication methods to be | Connecting to Tor's control socket API requires one of two authentication methods to be | ||||
configured. For cookie authentication the user running bitcoind must have write access | configured. For cookie authentication the user running bitcoind must have write access | ||||
to the `CookieAuthFile` specified in Tor configuration. In some cases this is | to the `CookieAuthFile` specified in Tor configuration. In some cases this is | ||||
preconfigured and the creation of a hidden service is automatic. If permission problems | preconfigured and the creation of a hidden service is automatic. If permission problems | ||||
Show All 15 Lines |