Skip to content

Commit

Permalink
doc: describe onlynet option in doc/tor.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatack committed Apr 11, 2019
1 parent c536dfb commit 140bbee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ Some dependencies are not needed in all configurations. The following are some f
* ZeroMQ is needed only with the `--with-zmq` option.

#### Other
* librsvg is only needed if you need to run `make deploy` on (cross-compliation to) macOS.
* librsvg is only needed if you need to run `make deploy` on (cross-compilation to) macOS.
7 changes: 6 additions & 1 deletion doc/tor.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ outgoing connections, but more is possible.

-onion=ip:port Set the proxy server to use for Tor hidden services. You do not
need to set this if it's the same as -proxy. You can use -noonion
to explicitly disable access to hidden service.
to explicitly disable access to hidden services.

-listen When using -proxy, listening is disabled by default. If you want
to run a hidden service (see next section), you'll need to enable
Expand All @@ -27,6 +27,11 @@ outgoing connections, but more is possible.
-seednode=X SOCKS5. In Tor mode, such addresses can also be exchanged with
other P2P nodes.

-onlynet=onion Make outgoing connections only to .onion addresses. Incoming
connections are not affected by this option. This option can be
specified multiple times to allow multiple network types, e.g.
ipv4, ipv6, or onion.

In a typical situation, this suffices to run behind a Tor proxy:

./bitcoind -proxy=127.0.0.1:9050
Expand Down

0 comments on commit 140bbee

Please sign in to comment.