News for hackers. Stuff that matters.
Re:Dat: non-profit, secure, and distributed package manager ... by sandGorgon on Wednesday September 27, 2017 @04:14AM (#15345792)
the DHT mutable data BEP-46 is proposing to take care of that.

http://www.libtorrent.org/dht_store.html

previous HN discussion - https://news.ycombinator.com/item?id=12257065

Re:Dat: non-profit, secure, and distributed package manager ... by rakoo on Wednesday September 27, 2017 @04:33AM (#15345876)
No, BEP46 only allows you to mutate DHT items, not torrent. By construction torrents are immutable (if you change one bit, or the name of the files) then the torrent identity changes.

What you need to mimic dat is a more integrated way to tell other peers that the torrent changed and to check the new one... which is not there yet.

Re:Dat: non-profit, secure, and distributed package manager ... by sandGorgon on Wednesday September 27, 2017 @05:01AM (#15346022)
I'm not an expert at this, but this is what the RFC says:

http://www.bittorrent.org/beps/bep_0046.html

>The intention is to allow publishers to serve content that might change over time in a more decentralized fashion. Consumers interested in the publisher's content only need to know their public key + optional salt. For instance, entities like Archive.org could publish their database dumps, and benefit from not having to maintain a central HTTP feed server to notify consumers about updates.

You are technically right that the torrent file is immutable, but basically this lets clients know that the torrent is updated using the DHT data. The outcome is the same.