GithubHelp home page GithubHelp logo

Comments (10)

lukechilds avatar lukechilds commented on August 22, 2024 2

Overall, I think any info that's relevant to less than 10% of the total users shouldn't be added to the UI itself

I agree with that 100% but I don't think that applies to this case because it's not missing from the UI, the information is in the UI but incorrect.

We are showing this:

Screenshot 2020-07-21 at 19 37 01

But the IBD sync is not happening over Tor.

from umbrel.

lukechilds avatar lukechilds commented on August 22, 2024 2

I don't think we should use onlynet:

If you additionally want Bitcoin Core to only connect out to Tor hidden services, also add this line (not particularly recommended):

onlynet=onion

Doing so will make your specific bitcoind node arguably more secure because it will never have an unencrypted connection to another node, but if everyone used onlynet=onion nobody on the onion bitcoin chain would be able to communicate with the clearnet chain. It is essential that some nodes access both clearnet and Tor. If you need to submit bitcoin transactions to the network with the highest level of obscurity, use onlynet=onion. If you only wish to give access to your node to other Tor users, do not use it.

https://en.bitcoin.it/wiki/Setting_up_a_Tor_hidden_service

from umbrel.

lukechilds avatar lukechilds commented on August 22, 2024

Concept ACK, although we need to be very careful with toggling Tor.

For example if LND has switched from Neutrino to Bitcoin Core, but Tor has not yet been re-enabled, any transactions will be broadcast over clearnet, not Tor, reducing the users privacy.

Also if we are doing initial sync over clearnet, we need to make that clear. I agree it's a sensible default and the correct choice for most users. However if the user lives somewhere where using Bitcoin is illegal, they may want the entire sync to happen over Tor so it's not obvious to their ISP they're using Bitcoin. This is probably not a really common use case so not something we need to support as a priority. We just need to make sure it's clear that the initial sync is not happening over Tor.

If that's not clear it's potentially dangerous.

from umbrel.

lukechilds avatar lukechilds commented on August 22, 2024

Also does blocksonly do anything during initial sync?

My understanding was that it disables transaction relay and most other P2P communication. So your node is only listening for new blocks and is not participating in other network traffic.

However it's quite possible that Bitcoin Core already ignores network communication other than requesting blocks during initial sync.

I'm not sure about this but worth looking into.

@meeDamian do you know the answer to this?

from umbrel.

mayankchhabra avatar mayankchhabra commented on August 22, 2024

For example if LND has switched from Neutrino to Bitcoin Core, but Tor has not yet been re-enabled, any transactions will be broadcast over clearnet, not Tor, reducing the users privacy.

Agree. We should first update bitcoin.conf, restart the bitcoin container and then proceed to update lnd.conf and restart the lnd container.

Also if we are doing initial sync over clearnet, we need to make that clear.

Agree. We can make that clear in our documentation/guide (that'd go on our website).

Overall, I think any info that's relevant to less than 10% of the total users shouldn't be added to the UI itself, and rather be added to the docs because it can do more harm than good, i.e. confuse the majority of the users. So in this case, if someone is going to run Umbrel in a country where Bitcoin is illegal, then we can at least expect them to read our docs thoroughly to understand all the potential risks.

Also does blocksonly do anything during initial sync?

I'm not too sure about that either. 🤔

from umbrel.

mayankchhabra avatar mayankchhabra commented on August 22, 2024

Ah yes, spot-on. Maybe we should reduce it to 50% during IBD lol.

Need to rethink the Tor card...

from umbrel.

nolim1t avatar nolim1t commented on August 22, 2024

thats a good question about blocksonly .. just used it as a PI optimization

from umbrel.

nolim1t avatar nolim1t commented on August 22, 2024

Here are all the tor options for bitcoind.

I think we can use the onlynet= option for the tor card.

onlynet=onion means that any clearnet seeding will be done over clearnet. It might actually improve the syncup. And it should work both ways

from umbrel.

nolim1t avatar nolim1t commented on August 22, 2024

onlynet=onion may increase sync time as theres probably less onion nodes out there

from umbrel.

mayankchhabra avatar mayankchhabra commented on August 22, 2024

Replaced by #309

from umbrel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.