@@ -16,9 +16,9 @@ configure Tor.
16
16
## How to see information about your Tor configuration via Bitcoin Core
17
17
18
18
There are several ways to see your local onion address in Bitcoin Core:
19
- - in the debug log (grep for "tor:" or "AddLocal")
20
- - in the output of RPC ` getnetworkinfo ` in the "localaddresses" section
21
- - in the output of the CLI ` -netinfo ` peer connections dashboard
19
+ - in the "Local addresses" output of CLI ` -netinfo `
20
+ - in the "localaddresses" output of RPC ` getnetworkinfo `
21
+ - in the debug log (grep for "AddLocal"; the Tor address ends in ` .onion ` )
22
22
23
23
You may set the ` -debug=tor ` config logging option to have additional
24
24
information in the debug log about your Tor configuration.
@@ -27,6 +27,9 @@ CLI `-addrinfo` returns the number of addresses known to your node per
27
27
network. This can be useful to see how many onion peers your node knows,
28
28
e.g. for ` -onlynet=onion ` .
29
29
30
+ To fetch a number of onion addresses that your node knows, for example seven
31
+ addresses, use the ` getnodeaddresses 7 onion ` RPC.
32
+
30
33
## 1. Run Bitcoin Core behind a Tor proxy
31
34
32
35
The first step is running Bitcoin Core behind a Tor proxy. This will already anonymize all
@@ -58,7 +61,7 @@ outgoing connections, but more is possible.
58
61
-onlynet=onion Make automatic outbound connections only to .onion addresses.
59
62
Inbound and manual connections are not affected by this option.
60
63
It can be specified multiple times to allow multiple networks,
61
- e.g. onlynet=onion, onlynet=i2p.
64
+ e.g. onlynet=onion, onlynet=i2p, onlynet=cjdns .
62
65
63
66
In a typical situation, this suffices to run behind a Tor proxy:
64
67
0 commit comments