What is a Merkle tree, and why do blocks use one? Don’t worry—your class rep is here with a summary:
To prove that a transaction is in a particular block, you only need a small number of hashes along the path from that transaction to the Merkle root. The number grows logarithmically with the number of transactions.
The advantage of a Merkle tree is that a single, very short root hash can “lock in” a large number of transactions, and any change to even one of them will be exposed.
In the crypto world, the costliest thing has never been transaction fees—it’s the price of not understanding the rules.
$BTC 58912.82(-1.97%)
#BTC
Personal opinion; may not be accurate, so take it with caution.
To prove that a transaction is in a particular block, you only need a small number of hashes along the path from that transaction to the Merkle root. The number grows logarithmically with the number of transactions.
The advantage of a Merkle tree is that a single, very short root hash can “lock in” a large number of transactions, and any change to even one of them will be exposed.
In the crypto world, the costliest thing has never been transaction fees—it’s the price of not understanding the rules.
$BTC 58912.82(-1.97%)
#BTC
Personal opinion; may not be accurate, so take it with caution.