Skip to content

Commit 68f3c7e

Browse files
committed
Merge #14120: Notes about control port and read access to cookie
fb97437 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
2 parents 2070a54 + fb97437 commit 68f3c7e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/tor.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ API, to create and destroy 'ephemeral' hidden services programmatically.
9393
Bitcoin Core has been updated to make use of this.
9494

9595
This means that if Tor is running (and proper authentication has been configured),
96-
Bitcoin Core automatically creates a hidden service to listen on. This will positively
96+
Bitcoin Core automatically creates a hidden service to listen on. This will positively
9797
affect the number of available .onion nodes.
9898

9999
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
102102
To show verbose debugging information, pass `-debug=tor`.
103103

104104
Connecting to Tor's control socket API requires one of two authentication methods to be
105-
configured. For cookie authentication the user running bitcoind must have write access
106-
to the `CookieAuthFile` specified in Tor configuration. In some cases, this is
105+
configured. It also requires the control socket to be enabled, e.g. put `ControlPort 9051`
106+
in `torrc` config file. For cookie authentication the user running bitcoind must have read
107+
access to the `CookieAuthFile` specified in Tor configuration. In some cases this is
107108
preconfigured and the creation of a hidden service is automatic. If permission problems
108109
are seen with `-debug=tor` they can be resolved by adding both the user running Tor and
109110
the user running bitcoind to the same group and setting permissions appropriately. On

0 commit comments

Comments
 (0)