Skip to content

Commit 9e54dde

Browse files
committed
Merge bitcoin/bitcoin#27719: doc: remove Tor link & generalize onion getnodeaddresses RPC
6fce5dd doc: update getnodeaddresses for CJDNS, I2P and Tor and rm link (Marnix) Pull request description: - remove broken link about how to properly configure tor - generalize getnodeaddresses RPC in doc ACKs for top commit: fanquake: ACK 6fce5dd Tree-SHA512: 3a077a0724c57a5c6182d40fbf34a84d2515bf1bf06ea0ce717174d0a27f5b19b9521c1ed1995adfdf4d43c2ce978a81e2ec9e3c8faf83f5188571fa75ea5314
2 parents 3a83d44 + 6fce5dd commit 9e54dde

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

doc/cjdns.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,4 @@ There are several ways to see your CJDNS address in Bitcoin Core:
112112
To see which CJDNS peers your node is connected to, use `bitcoin-cli -netinfo 4`
113113
or the `getpeerinfo` RPC (i.e. `bitcoin-cli getpeerinfo`).
114114

115-
To see which CJDNS addresses your node knows, use the `getnodeaddresses 0 cjdns`
116-
RPC.
115+
You can use the `getnodeaddresses` RPC to fetch a number of CJDNS peers known to your node; run `bitcoin-cli help getnodeaddresses` for details.

doc/i2p.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ incoming I2P connections (`-i2pacceptincoming`):
109109
To see which I2P peers your node is connected to, use `bitcoin-cli -netinfo 4`
110110
or the `getpeerinfo` RPC (e.g. `bitcoin-cli getpeerinfo`).
111111

112-
To see which I2P addresses your node knows, use the `getnodeaddresses 0 i2p`
113-
RPC.
112+
You can use the `getnodeaddresses` RPC to fetch a number of I2P peers known to your node; run `bitcoin-cli help getnodeaddresses` for details.
114113

115114
## Compatibility
116115

doc/tor.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
It is possible to run Bitcoin Core as a Tor onion service, and connect to such services.
44

5-
The following directions assume you have a Tor proxy running on port 9050. Many distributions default to having a SOCKS proxy listening on port 9050, but others may not. In particular, the Tor Browser Bundle defaults to listening on port 9150. See [Tor Project FAQ:TBBSocksPort](https://www.torproject.org/docs/faq.html.en#TBBSocksPort) for how to properly
6-
configure Tor.
7-
5+
The following directions assume you have a Tor proxy running on port 9050. Many distributions default to having a SOCKS proxy listening on port 9050, but others may not. In particular, the Tor Browser Bundle defaults to listening on port 9150.
86
## Compatibility
97

108
- Starting with version 22.0, Bitcoin Core only supports Tor version 3 hidden
@@ -27,8 +25,7 @@ CLI `-addrinfo` returns the number of addresses known to your node per
2725
network. This can be useful to see how many onion peers your node knows,
2826
e.g. for `-onlynet=onion`.
2927

30-
To fetch a number of onion addresses that your node knows, for example seven
31-
addresses, use the `getnodeaddresses 7 onion` RPC.
28+
You can use the `getnodeaddresses` RPC to fetch a number of onion peers known to your node; run `bitcoin-cli help getnodeaddresses` for details.
3229

3330
## 1. Run Bitcoin Core behind a Tor proxy
3431

0 commit comments

Comments
 (0)