Skip to content

Commit 3bf6f0c

Browse files
committed
doc: update tor.md with cjdns and getnodeaddresses, fix tor grep,
and improve local addresses section
1 parent ed15848 commit 3bf6f0c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

doc/tor.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ configure Tor.
1616
## How to see information about your Tor configuration via Bitcoin Core
1717

1818
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`)
2222

2323
You may set the `-debug=tor` config logging option to have additional
2424
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
2727
network. This can be useful to see how many onion peers your node knows,
2828
e.g. for `-onlynet=onion`.
2929

30+
To fetch a number of onion addresses that your node knows, for example seven
31+
addresses, use the `getnodeaddresses 7 onion` RPC.
32+
3033
## 1. Run Bitcoin Core behind a Tor proxy
3134

3235
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.
5861
-onlynet=onion Make automatic outbound connections only to .onion addresses.
5962
Inbound and manual connections are not affected by this option.
6063
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.
6265

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

0 commit comments

Comments
 (0)