[Discussion] Initial Block Download over clearnet, I2P and Tor by default
See original GitHub issueAware of this is a sensitive topic, but discussing is necessary.
The problem
The environment keeps changing with Tor currently practically broken: https://status.torproject.org/
Having report of IBD on RPi4+SSD taking 2 weeks and misidentifying the bottleneck being the RPi, when it is actually Tor.
See for comparison the 3 years old tweet about the full sync over Tor-only in 80 hours: https://twitter.com/openoms/status/1147393450171674624
Also the bitcoin network has some segregation risk if may nodes are only connecting to other Tor-only nodes.
Possible improvements:
Hybrid mode for Bitcoin Core
Simply need to delete the line:
onlynet=onion
from your bitcoin.conf (menu - SYSTEM - bitcoinCONF) to sync connect to peers over clearnet also. Just be aware that your ISP will see that you are using bitcoin - it is obvious anyway even over from the traffic and download spikes on the new blocks and is ok in most countries.
I2P as an alternative network
can achieve significant speed improvements, but more peers are needed. See how to set up easily in the command line: https://github.com/rootzoll/raspiblitz/issues/2413#issuecomment-1013855483
what can we do?
- start nodes in hybrid mode (for bitcoin core, not lightning) by default with a warning
- implement I2P to be used by default as well as Tor
- wonder if adding a warning and an option to the web-gui to avoid exposing the clearnet traffic is reasonably easy @cstenglein?
- if there is a synced full node on your LAN or on the VPN the node is connected to can make the download happen over the fast, private network by adding the address of the synced node with:
bitcoin-cli addnode “IP_ADDRESS:8333” “onetry”
Comments and suggestions are most welcome.
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:15 (6 by maintainers)

Top Related StackOverflow Question
Adding I2P by default seems to be a no-brainer and probably the advanced option to activate clearnet for Bitcoin Core is the best choice for a start.
Adding I2P would be a quick fix for v1.8.1 and we could then see if the the practical results are already satisfying. With the WebUI we have now the possibility to present options to the user to speed up syncing … adding/activating clearnet could be one of them that we could start offering with a v1.8.3