mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
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 bitcoin#13681 because pushes made it unable to reopen. Tree-SHA512: 34eac14308aef70963b630173cd93916201553d5323ab2de3517d4a78604ae5a7cf8691a314c0af00fe36f0ef19b94a4c371d2e7aa1229d9c603d36c51b115fb
This commit is contained in:
parent
9deb90e526
commit
3f5588f0b7
@ -120,7 +120,7 @@ API, to create and destroy 'ephemeral' hidden services programmatically.
|
|||||||
Dash Core has been updated to make use of this.
|
Dash 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),
|
||||||
Dash Core automatically creates a hidden service to listen on. This will positively
|
Dash 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 Dash Core is listening (`-listen`), and
|
This new feature is enabled by default if Dash Core is listening (`-listen`), and
|
||||||
@ -129,8 +129,9 @@ and, if not disabled, configured using the `-torcontrol` and `-torpassword` sett
|
|||||||
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 dashd must have write access
|
configured. It also requires the control socket to be enabled, e.g. put `ControlPort 9051`
|
||||||
to the `CookieAuthFile` specified in Tor configuration. In some cases, this is
|
in `torrc` config file. For cookie authentication the user running dashd 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
|
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
|
are seen with `-debug=tor` they can be resolved by adding both the user running Tor and
|
||||||
the user running dashd to the same group and setting permissions appropriately. On
|
the user running dashd to the same group and setting permissions appropriately. On
|
||||||
|
Loading…
Reference in New Issue
Block a user