News for hackers. Stuff that matters.
Re:Many Bitcoin wallets vulnerable to double-spending of con... by wcoenen on Saturday July 04, 2015 @04:59PM (#9831610)
I don't think so. These wallets implement Simplified Payment Verification as described by Satoshi in section 8 of the original bitcoin paper[1]. They do validate the block headers, which contain the proof of work.

[1] https://bitcoin.org/bitcoin.pdf

Re:Many Bitcoin wallets vulnerable to double-spending of con... by sysk on Saturday July 04, 2015 @10:35PM (#9832318)
The issue is not with SPV itself but with Electrum's implementation (by "and friends" I really meant Electrum forks, not all SPV clients).

Electrum does validate block headers but it doesn't handle re-orgs correctly. It just assumes the longest chain has the most PoW in it which is wrong and makes it vulnerable to attacks by malicious Electrum servers.

Block headers do not contain the cumulative work that has gone into the chain (only the difficulty of the current block). A chain's total work must be calculated and stored locally by clients.

https://github.com/spesmilo/electrum/blob/master/lib/blockch...