Skip to content

Commit b76abae

Browse files
committed
Merge #20587: [doc] Tidy up Tor doc (more stringent)
32045bb [doc] Tidy up Tor doc (more stringent) (wodry) Pull request description: This is a follow up to bitcoin/bitcoin#19638 that left two deprecated "hidden service/server" naming occurences. It also shall make the chapter titles regarding creation of onion services stringent and easy to read and distinguish. It removes the one and only reference to the testnet (here the testnet onion service port), as it is not explained that it references to the testnet and I do not know why it is mentioned there. It is only confusing. Also, as said, the testnet is not referenced at any other place in this document. ACKs for top commit: practicalswift: ACK 32045bb laanwj: Review ACK 32045bb RiccardoMasutti: ACK 32045bb Tree-SHA512: c623387b76d68845c0fa47f67a6f8ef70c9c560e3f8f8754e45a4f51e43198c2092be789588acd4ada607f42fbe62d51a4b1888d81b225df19b6557a081835c0
2 parents 86f2007 + 32045bb commit b76abae

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc/tor.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ In a typical situation, this suffices to run behind a Tor proxy:
3737
./bitcoind -proxy=127.0.0.1:9050
3838

3939

40-
## 2. Run a Bitcoin Core hidden server
40+
## 2. Manually create a Bitcoin Core onion service
4141

4242
If you configure your Tor system accordingly, it is possible to make your node also
4343
reachable from the Tor network. Add these lines to your /etc/tor/torrc (or equivalent
@@ -46,7 +46,6 @@ versions of Tor see [Section 3](#3-automatically-listen-on-tor).*
4646

4747
HiddenServiceDir /var/lib/tor/bitcoin-service/
4848
HiddenServicePort 8333 127.0.0.1:8334
49-
HiddenServicePort 18333 127.0.0.1:18334
5049

5150
The directory can be different of course, but virtual port numbers should be equal to
5251
your bitcoind's P2P listen port (8333 by default), and target addresses and ports
@@ -92,7 +91,7 @@ for normal IPv4/IPv6 communication, use:
9291

9392
./bitcoind -onion=127.0.0.1:9050 -externalip=57qr3yd1nyntf5k.onion -discover
9493

95-
## 3. Automatically listen on Tor
94+
## 3. Automatically create a Bitcoin Core onion service
9695

9796
Starting with Tor version 0.2.7.1 it is possible, through Tor's control socket
9897
API, to create and destroy 'ephemeral' onion services programmatically.
@@ -130,6 +129,6 @@ in the tor configuration file. The hashed password can be obtained with the comm
130129

131130
- Do not add anything but Bitcoin Core ports to the onion service created in section 2.
132131
If you run a web service too, create a new onion service for that.
133-
Otherwise it is trivial to link them, which may reduce privacy. Hidden
132+
Otherwise it is trivial to link them, which may reduce privacy. Onion
134133
services created automatically (as in section 3) always have only one port
135134
open.

0 commit comments

Comments
 (0)