If nodes only accepted new valid blockchains that contained all the data of the old blockchain, then miners will still be able to add blocks to the current blockchain because their blockchain will contain all the data of the old blockchain and the additional data of the new block.

However, double spending will become virtually impossible because if a malicious miner rewrote the blockchain and completed the proof-of-work so they can double-spend, they will be unsuccessful because nodes will only accept blockchains that contain all the data of the old blockchain. A blockchain with a double spend in it will not contain all the data of the old blockchain as it will not contain the double-spenders transaction, so why was this not programmed into the bitcoin protocol?



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here