About Merkle trees:
If any transaction in a block is altered, its hash changes, which affects the hashes at each level up to the Merkle root. The block hash changes as well.
The advantage of a Merkle tree is that a single, short root hash can “lock in” a large number of transactions, and any alteration—even to just one transaction—will be detected.
$BTC 71139.97(-3.41%)

#BTC

Not investment advice—don’t copy this blindly.