bitcoind 22.0rc2
Having the following bitcoin.conf
0upnp=0
1debug=i2p
2shrinkdebugfile=1
3onlynet=i2p
4listen=1
5timeout=20000
6server=1
7maxtxfee=0.001
8i2psam=127.0.0.1:7656
9addnode=72l3ucjkuscrbiiepoehuwqgknyzgo7zuix5ty4puwrkyhtmnsga.b32.i2p:0
10addnode=c4gfnttsuwqomiygupdqqqyy5y5emnk5c73hrfvatri67prd7vyq.b32.i2p:0
11addnode=gehtac45oaghz54ypyopim64mql7oad2bqclla74l6tfeolzmodq.b32.i2p:0
12addnode=h3r6bkn46qxftwja53pxiykntegfyfjqtnzbm6iv6r5mungmqgmq.b32.i2p:0
13addnode=hnbbyjpxx54623l555sta7pocy3se4sdgmuebi5k6reesz5rjp6q.b32.i2p:0
14addnode=pjs7or2ctvteeo5tu4bwyrtydeuhqhvdprtujn4daxr75jpebjxa.b32.i2p:0
15addnode=wwbw7nqr3ahkqv62cuqfwgtneekvvpnuc4i4f6yo7tpoqjswvcwa.b32.i2p:0
16addnode=zsxwyo6qcn3chqzwxnseusqgsnuw3maqnztkiypyfxtya4snkoka.b32.i2p:0
Makes bitcoind connect outgoing to Onion network.
bitcoind --help
says for option onlynet
:
“if it is used with non-onion networks and the -onion or -proxy option is set, then outbound onion connections will still be made; use -noonion or -onion=0 to disable outbound onion connections in this case.”
But as you can see, neither onion
nor proxy
is set. proxy
defaults to “disabled” (=0 ?), and onion
defaults to value of proxy
, so if proxy
is unset=disabled, onion
should be disabled(=0), too. There should be no need for setting onion=0
in this case.
The above sentence would be clearer like so: “use -noonion or -onion=0 to disable outbound onion connections if proxy is set”
Expected behavior
No outgoing connections to Onion network, only to I2P network.
Actual behavior
Outgoing connections to both Onion and I2P network.
To reproduce
Use above bitcoin.conf.
System information
Debian Buster amd_64