Hacker News new | ask | show | jobs
by mouldysammich 3241 days ago
The main differences I can see is a change from SHA1 -> SHA2 and also seems to have added official spec for webtorrent.
2 comments

It also appears to be using a merkle hash tree for piece hashing now along with a few new peer wire messages to support that.
It also switches to a merkle hash per-file and specifies that each file is aligned to the start of a piece, and the size of the last piece of each file matches the amount of remaining data.

This means in large multi-file torrents you don't have to download (and store) the two extra 1-4mb pieces at the start/end of each file anymore.

> official spec for webtorrent

Huh, where do you see that? Not seeing any ctrl-f hits for webtorrent or webrtc.

Whoops, i skimmed and they mentioned the end user web browser and I assumed they had.

I guess this is why they say when you assume you make an ass out of you and me.