Skip to content

Commit 6a2ff67

Browse files
committed
Merge bitcoin/bitcoin#32679: doc: update tor docs to use bitcoind binary from path
4ce5349 doc: update tor docs to use bitcoind binary from path (ismaelsadeeq) Pull request description: I noticed this while trying to run a node over Tor. Using `./bitcoind` as the executable path is incorrect. This is a simple documentation update PR that fixes the path by removing the prefix and just having `bitcoind` as the usage example targeting those who have Bitcoin Core in their PATH. ACKs for top commit: davidgumberg: ACK bitcoin/bitcoin@4ce5349 janb84: ACK 4ce5349 jonatack: ACK 4ce5349 Tree-SHA512: a23c94a175f77d66ee1a81599a15a809ad768090eebb619c8e4a67b8a020a2256da4f40cec3c00ec35775b265d3c53cdb70c09fbed48d399416fbc9156ebff31
2 parents fd4399c + 4ce5349 commit 6a2ff67

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/tor.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ outgoing connections, but more is possible.
6464

6565
In a typical situation, this suffices to run behind a Tor proxy:
6666

67-
./bitcoind -proxy=127.0.0.1:9050
67+
bitcoind -proxy=127.0.0.1:9050
6868

6969
`bitcoin node` or `bitcoin gui` can also be substituted for `bitcoind`.
7070

@@ -191,25 +191,25 @@ should be equal to binding address and port for inbound Tor connections (127.0.0
191191

192192
In a typical situation, where you're only reachable via Tor, this should suffice:
193193

194-
./bitcoind -proxy=127.0.0.1:9050 -externalip=7zvj7a2imdgkdbg4f2dryd5rgtrn7upivr5eeij4cicjh65pooxeshid.onion -listen
194+
bitcoind -proxy=127.0.0.1:9050 -externalip=7zvj7a2imdgkdbg4f2dryd5rgtrn7upivr5eeij4cicjh65pooxeshid.onion -listen
195195

196196
(obviously, replace the .onion address with your own). It should be noted that you still
197197
listen on all devices and another node could establish a clearnet connection, when knowing
198198
your address. To mitigate this, additionally bind the address of your Tor proxy:
199199

200-
./bitcoind ... -bind=127.0.0.1:8334=onion
200+
bitcoind ... -bind=127.0.0.1:8334=onion
201201

202202
If you don't care too much about hiding your node, and want to be reachable on IPv4
203203
as well, use `discover` instead:
204204

205-
./bitcoind ... -discover
205+
bitcoind ... -discover
206206

207207
and open port 8333 on your firewall (or use port mapping, i.e., `-natpmp`).
208208

209209
If you only want to use Tor to reach .onion addresses, but not use it as a proxy
210210
for normal IPv4/IPv6 communication, use:
211211

212-
./bitcoind -onion=127.0.0.1:9050 -externalip=7zvj7a2imdgkdbg4f2dryd5rgtrn7upivr5eeij4cicjh65pooxeshid.onion -discover
212+
bitcoind -onion=127.0.0.1:9050 -externalip=7zvj7a2imdgkdbg4f2dryd5rgtrn7upivr5eeij4cicjh65pooxeshid.onion -discover
213213

214214
## 4. Privacy recommendations
215215

0 commit comments

Comments
 (0)