python_blockchain_app icon indicating copy to clipboard operation
python_blockchain_app copied to clipboard

What prevents a new node with a bigger chain to join and deceive everyone?

Open t3rmin4l opened this issue 4 years ago • 1 comments

If a new node with a bigger chain than anyone's joins, wouldn't it be able to deceive everyone and everyone would accept its chain because it's the longest?

t3rmin4l avatar May 20 '20 20:05 t3rmin4l

As I understand it, this is just a toy model for a blockchain. In a more real world scenario, the data stored consists of transactions (or anything really) which is cryptographically signed by the relevant parties. So you could not create blocks containing "fake" entries because you wouldn't be able to fake the signature. Transactions not only contain information about their content, but are also signed by the relevant author

Popeyef5 avatar Jun 16 '20 14:06 Popeyef5