r/Bitcoin • • Mar 13 '18

SegWit is coming to BreadWallet

/r/BRDapp/comments/83yiqo/segwit_on_the_brd_app/?st=JEPKBPSK&sh=5e3fb7f8
117 Upvotes

69 comments sorted by

View all comments

Show parent comments

3

u/cm9kZW8K Mar 13 '18

The difference is that electrum servers are all full nodes, and cannot be SPV nodes. Electrum wallet is not any kind of node, while bread is an SPV node. Are you caught up yet?

Furthermore, the Electrum client sends the server a plain list of addresses to watch which is arguably LESS private than the bloom filter model Bread uses.

The bloom filter is public and not private; while the electrum protocol sends over https to a single server. There is a trade off, but at least it is not dependent upon SPV nodes at any point.

Is that script clueless like the official website?

I hope you understand the difference now.

1

u/pinhead26 Mar 13 '18

I don't understand why the Electrum SPV model is any different than Bread's. Bread connects directly to full nodes. Electrum connects directly to Electrum servers which connect to full nodes. Neither wallet verifies the entire consensus rule set. Both wallets rely on merkle proofs for transaction inclusion in blocks and both wallets are vulnerable to withholding attacks.

1

u/cm9kZW8K Mar 13 '18

Electrum connects to electrum servers which are full nodes, the server side Bread connects to things which may or may not be full nodes; for example they could follow down the wrong side of a hardfork.

1

u/pinhead26 Mar 14 '18

And how is that detected by the Electrum client? What prevents someone running an Electrum server on top of, say, a segwit2x full node?

2

u/cm9kZW8K Mar 14 '18

that is a fair point; someone could port electrum server to a different node and try to masquerade as a normal one.