question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Discussion] Initial Block Download over clearnet, I2P and Tor by default

See original GitHub issue

Aware 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:closed
  • Created a year ago
  • Reactions:3
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

6reactions
openomscommented, Sep 24, 2022

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.

4reactions
rootzollcommented, Sep 24, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Discussion] Initial Block Download over clearnet, I2P and Tor by ...
Adding I2P by default seems to be a no-brainer. So now the IBD could happen over I2P and TOR simultaneously. Activating clearnet should...
Read more >
Craig Raw on Twitter: "@openoms @_k3tan @stephanlivera ...
A controversial post because of: - I was pushing Tor-only also to help privacy ... [Discussion] Initial Block Download over clearnet, I2P and...
Read more >
Does the latest Monero release (Nov 2019) contain I2P and ...
Actually, tor/i2p support has been in Monero since the previous release, not just the ... Syncing blocks would still occur over clearnet.
Read more >
Frequently Asked Questions - I2P
My active peers / known peers / participating tunnels / connections / bandwidth vary dramatically over time! Is anything wrong? What makes downloads,...
Read more >
Practical Attacks Against The I2P Network
Tor [1, 2] was one of the early solutions to provide anonymous communica- tion on the Internet. It works by routing traffic through...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found