Skip to content

Commit 140bbee

Browse files
committed
doc: describe onlynet option in doc/tor.md
as per http://www.erisian.com.au/bitcoin-core-dev/log-2019-04-11.html#l-102. Description adapted from https://github.com/bitcoin/bitcoin/blob/master/src/init.cpp#L429. Also fixes a typo in doc/dependencies.md.
1 parent c536dfb commit 140bbee

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

doc/dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ Some dependencies are not needed in all configurations. The following are some f
4343
* ZeroMQ is needed only with the `--with-zmq` option.
4444

4545
#### Other
46-
* librsvg is only needed if you need to run `make deploy` on (cross-compliation to) macOS.
46+
* librsvg is only needed if you need to run `make deploy` on (cross-compilation to) macOS.

doc/tor.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ outgoing connections, but more is possible.
1616

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

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

30+
-onlynet=onion Make outgoing connections only to .onion addresses. Incoming
31+
connections are not affected by this option. This option can be
32+
specified multiple times to allow multiple network types, e.g.
33+
ipv4, ipv6, or onion.
34+
3035
In a typical situation, this suffices to run behind a Tor proxy:
3136

3237
./bitcoind -proxy=127.0.0.1:9050

0 commit comments

Comments
 (0)