electrum icon indicating copy to clipboard operation
electrum copied to clipboard

qml: show option for single server in ServerConfig

Open accumulator opened this issue 1 year ago • 2 comments

accumulator avatar Oct 10 '24 08:10 accumulator

(previous discussion in https://github.com/spesmilo/electrum/issues/8250)

In general, ok, we can add the toggle I think.

SomberNight avatar Oct 10 '24 16:10 SomberNight

changed to draft, this needs work on desktop ui.

accumulator avatar Oct 14 '24 09:10 accumulator

This should come with a proper security warning.

ecdsa avatar May 20 '25 06:05 ecdsa

This should come with a proper security warning.

You mean showing a confirmation popup when enabling, like disabling trampoline does? Note that there's a help button showing the config option's long_desc

accumulator avatar May 20 '25 09:05 accumulator

Note that there's a help button showing the config option's long_desc

The problem is not only about lagging and forks.

The --oneserver option makes SPV useless. If you get your info from a single server, it can mine blocks that include fake transactions, and your client will not detect it. For example, an attacker could make you believe you received a large payment, in exchange for goods/fiat/other cryptos. They only need to spend as much PoW as in our last checkpoint, and drive the difficulty down from there.

The dangers of --oneserver are not well understood

ecdsa avatar May 20 '25 11:05 ecdsa

Yes the option is only intended for connecting to your own node, the text should indicate that.

accumulator avatar May 20 '25 12:05 accumulator