Blockchain linking algorithm

1

Why does new block include only parent's block hash instead of hash of it's all previous blocks calculated using e.g. merkle tree algorithm?

Michal

Posted 2017-11-09T17:25:43.630

Reputation: 11

1What would be the benefit of such approach?croraf 2017-11-09T18:53:05.653

Answers

1

Because the parent hash is already based on the previous parent hash, and so on, it effectively does include all of them. A merkle tree is a commitment to all of them, this does the same thing. It would just make generating the block header harder before the miner can even start mining, so there would be no benefit.

MeshCollider

Posted 2017-11-09T17:25:43.630

Reputation: 8 735