bitcoind 22.0rc2
Having the following bitcoin.conf
upnp=0
debug=i2p
shrinkdebugfile=1
onlynet=i2p
listen=1
timeout=20000
server=1
maxtxfee=0.001
i2psam=127.0.0.1:7656
addnode=72l3ucjkuscrbiiepoehuwqgknyzgo7zuix5ty4puwrkyhtmnsga.b32.i2p:0
addnode=c4gfnttsuwqomiygupdqqqyy5y5emnk5c73hrfvatri67prd7vyq.b32.i2p:0
addnode=gehtac45oaghz54ypyopim64mql7oad2bqclla74l6tfeolzmodq.b32.i2p:0
addnode=h3r6bkn46qxftwja53pxiykntegfyfjqtnzbm6iv6r5mungmqgmq.b32.i2p:0
addnode=hnbbyjpxx54623l555sta7pocy3se4sdgmuebi5k6reesz5rjp6q.b32.i2p:0
addnode=pjs7or2ctvteeo5tu4bwyrtydeuhqhvdprtujn4daxr75jpebjxa.b32.i2p:0
addnode=wwbw7nqr3ahkqv62cuqfwgtneekvvpnuc4i4f6yo7tpoqjswvcwa.b32.i2p:0
addnode=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