News for hackers. Stuff that matters.
Re:The BitTorrent Protocol Specification v2 by lowglow on Monday August 07, 2017 @07:23PM (#14952116)
Can someone diff the spec from the previous version? What's the changelog? :)
Re:The BitTorrent Protocol Specification v2 by mouldysammich on Monday August 07, 2017 @07:24PM (#14952128)
The main differences I can see is a change from SHA1 -> SHA2 and also seems to have added official spec for webtorrent.
Re:The BitTorrent Protocol Specification v2 by Luminarys on Monday August 07, 2017 @07:29PM (#14952159)
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.
Re:The BitTorrent Protocol Specification v2 by phire on Monday August 07, 2017 @08:46PM (#14952542)
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.

Re:The BitTorrent Protocol Specification v2 by cjbprime on Monday August 07, 2017 @08:20PM (#14952400)
> official spec for webtorrent

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

Re:The BitTorrent Protocol Specification v2 by mouldysammich on Monday August 07, 2017 @08:23PM (#14952419)
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.

Re:The BitTorrent Protocol Specification v2 by kpcyrd on Monday August 07, 2017 @07:46PM (#14952255)
It would be interesting to see how the new version compares to ipfs.
Re:The BitTorrent Protocol Specification v2 by supergreg on Monday August 07, 2017 @09:35PM (#14952806)
The tree structure seems very similar. It would be nice if torrent clients could interact with ipfs or gain ipfs capabilities. Think torrents that update themselves when the files change (thanks to ipns).
Re:The BitTorrent Protocol Specification v2 by sktrdie on Tuesday August 08, 2017 @04:10AM (#14955589)
There's already such BEP: http://bittorrent.org/beps/bep_0046.html - "Updating Torrents Via DHT Mutable Items"