Skip to content

Commit 58ef0ff

Browse files
committed
doc: update docs for Tor listening
- add new data directory files for 0.12 to doc/files.md - mention torcontrol in doc/tor.md
1 parent 68ccdc4 commit 58ef0ff

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

doc/files.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* fee_estimates.dat: stores statistics used to estimate minimum transaction fees and priorities required for confirmation; since 0.10.0
1313
* peers.dat: peer IP address database (custom format); since 0.7.0
1414
* wallet.dat: personal wallet (BDB) with keys and transactions
15+
* .cookie: session RPC authentication cookie (written at start when cookie authentication is used, deleted on shutdown): since 0.12.0
16+
* onion_private_key: cached Tor hidden service private key for `-listenonion`: since 0.12.0
1517

1618
Only used in pre-0.8.0
1719
---------------------

doc/tor.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,20 @@ If you only want to use Tor to reach onion addresses, but not use it as a proxy
8787
for normal IPv4/IPv6 communication, use:
8888

8989
./bitcoin -onion=127.0.0.1:9050 -externalip=57qr3yd1nyntf5k.onion -discover
90+
91+
3. Automatically listen on Tor
92+
--------------------------------
93+
94+
Starting with Tor version 0.2.7.1 it is possible, through Tor's control socket
95+
API, to create and destroy 'ephemeral' hidden services programmatically.
96+
Bitcoin Core has been updated to make use of this.
97+
98+
This means that if Tor is running (and proper authorization is available),
99+
Bitcoin Core automatically creates a hidden service to listen on, without
100+
manual configuration. This will positively affect the number of available
101+
.onion nodes.
102+
103+
This new feature is enabled by default if Bitcoin Core is listening, and
104+
a connection to Tor can be made. It can be configured with the `-listenonion`,
105+
`-torcontrol` and `-torpassword` settings. To show verbose debugging
106+
information, pass `-debug=tor`.

0 commit comments

Comments
 (0)