Issue Details
- Number
- 24450
- Title
- Apparently CJDNS network does not work with Tor on mainnet.
- Description
- Apparently CJDNS network does not work with Tor on mainnet.
**Expected behavior**
Both networks should work.
**Actual behavior**
When monitoring connections via `./src/bitcoin-cli -netinfo 4`, this does not show any CJDNS peers if Tor is enabled.
If the Tor proxy is commented out in the configuration file, the CJDNS peers will be connected.
**To reproduce**
Install Tor, I2P and CJDNS services on Fedora / Debian.
Add the following items to `bitcoin.conf` file:
```
[main]
proxy=127.0.0.1:9050
cjdnsreachable=1
i2pacceptincoming=1
i2psam=127.0.0.1:7656
addnode=fcc7:be49:ccd1:dc91:3125:f0da:457d:8ce
addnode=fc32:17ea:e415:c3bf:9808:149d:b5a2:c9aa
addnode=sedndhv5vpcgdmykyi5st4yqhdxl3hpdtglta4do435wupahhx6q.b32.i2p:0
addnode=zsxwyo6qcn3chqzwxnseusqgsnuw3maqnztkiypyfxtya4snkoka.b32.i2p:0
addnode=wwbw7nqr3ahkqv62cuqfwgtneekvvpnuc4i4f6yo7tpoqjswvcwa.b32.i2p:0
addnode=opnyfyeiibe5qo5a3wbxzbb4xdiagc32bbce46owmertdknta5mi7uyd.onion:8333
addnode=rp7k2go3s5lyj3fnj6zn62ktarlrsft2ohlsxkyd7v3e3idqyptvread.onion:8333
addnode=xqt25cobm5zqucac3634zfght72he6u3eagfyej5ellbhcdgos7t2had.onion:8333
```
Run Bicoin Core. With the configuration above, there can be IPv4, onion and I2P peers, but not CJDNS.
Stop Bitcoin Core, comment out `proxy=127.0.0.1:9050` and restart it. There can be IPv4, CJDNS and I2P
**System information**
Bitcoin Core was compiled from master (last commit `ee8c9971256`). Ran on Fedora Linux 35.
Same behavior observed on Debian 11.
- URL
-
https://github.com/bitcoin/bitcoin/issue/24450
- Closed by
-
Back to List