Colby Serpa💡 on Nostr: Haha, you’ve got it backwards. With a merkle tree, I can download a tiny chunk of a ...
Haha, you’ve got it backwards.
With a merkle tree, I can download a tiny chunk of a file and still verify it’s part of the correct file.
Without a merkle tree, I have to download the entire file before being able to verify its hash… If the file takes a long time to download and you only find out it’s the wrong hash after you finish downloading, then you’ve suffered a delay attack & need to restart the entire download.
With a merkle tree, I can download a tiny chunk of a file and still verify it’s part of the correct file.
Without a merkle tree, I have to download the entire file before being able to verify its hash… If the file takes a long time to download and you only find out it’s the wrong hash after you finish downloading, then you’ve suffered a delay attack & need to restart the entire download.