aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2018-09-02 10:38:11 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2018-09-02 10:41:21 +0200
commit68f3c7eb080e461cfeac37f8db7034fe507241d0 (patch)
treefe77429f8a995f7aabdcf8955260388d743094d3
parent2070a545e2c4e8c2dff4c0fb40b8fd2f68fc2cad (diff)
parentfb97437efa06acfbe75a5e34d8bbf8388d5f6432 (diff)
downloadbitcoin-68f3c7eb080e461cfeac37f8db7034fe507241d0.tar.xz
Merge #14120: Notes about control port and read access to cookie
fb97437efa06acfbe75a5e34d8bbf8388d5f6432 added note that control port must be enabled and how to do that in torrc config file (Jordan Baczuk) Pull request description: Reopened from #13681 because pushes made it unable to reopen. Tree-SHA512: 34eac14308aef70963b630173cd93916201553d5323ab2de3517d4a78604ae5a7cf8691a314c0af00fe36f0ef19b94a4c371d2e7aa1229d9c603d36c51b115fb
-rw-r--r--doc/tor.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/tor.md b/doc/tor.md
index 2d0676c89a..dc0b88618a 100644
--- a/doc/tor.md
+++ b/doc/tor.md
@@ -93,7 +93,7 @@ API, to create and destroy 'ephemeral' hidden services programmatically.
Bitcoin Core has been updated to make use of this.
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.
This new feature is enabled by default if Bitcoin Core is listening (`-listen`), and
@@ -102,8 +102,9 @@ and, if not disabled, configured using the `-torcontrol` and `-torpassword` sett
To show verbose debugging information, pass `-debug=tor`.
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
-to the `CookieAuthFile` specified in Tor configuration. In some cases, this is
+configured. It also requires the control socket to be enabled, e.g. put `ControlPort 9051`
+in `torrc` config file. For cookie authentication the user running bitcoind must have read
+access 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
are seen with `-debug=tor` they can be resolved by adding both the user running Tor and
the user running bitcoind to the same group and setting permissions appropriately. On