diff options
author | Jon Atack <jon@atack.com> | 2019-04-11 13:15:29 +0200 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2019-04-16 08:58:38 +0800 |
commit | 194226f6798e59cfd871db0335e078101b165043 (patch) | |
tree | bb7cd6bf59d314e2890210f5972f5c59d5b92e10 /doc/tor.md | |
parent | 6d2448ca8e8bbf326730e79a7e1d959b4e81a76e (diff) |
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.
Github-Pull: #15792
Rebased-From: 140bbeec45f14fd50cce68448bc7fa655cbef951
Diffstat (limited to 'doc/tor.md')
-rw-r--r-- | doc/tor.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/tor.md b/doc/tor.md index c46b7e9f60..cfb7f16666 100644 --- a/doc/tor.md +++ b/doc/tor.md @@ -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 @@ -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 |