News for hackers. Stuff that matters.
Re:Hyperdrive v10 – a peer-to-peer filesystem by rklaehn on Thursday May 14, 2020 @04:11PM (#23184747)
So do you opportunistically gather info about what other peers have via this gossip protocol, or just when you need something?

I had looked at https://datprotocol.github.io/how-dat-works/ , but I don't remember anything about a gossip protocol or a peer building a "view of the world". Is that new?

Re:Hyperdrive v10 – a peer-to-peer filesystem by mafintosh on Thursday May 14, 2020 @04:25PM (#23184906)
It's only between the peers in your subset of the swarm for now. They exchange a series of WANT and HAVE messages where they subscribe to the sections of each others logs they are interested in.

We are working on expanding this scheme so peers can help discover peers that have the section you are looking for.

Due to the compressed bitfields these section are quite large. In most cases using a few kilobytes you can share WANT/HAVE for millions of blocks

Re:Hyperdrive v10 – a peer-to-peer filesystem by rklaehn on Thursday May 14, 2020 @04:31PM (#23185001)
Yes, I saw the compressed bitfields. Most amount of bit twiddling I have ever seen in a pure javascript library...

Being able to identify a piece of content by an integer instead of a hash makes things more efficient compared to content-addressed storage a la IPFS.