On Mon, Jul 16, 2012 at 2:36 AM, James A. Donald <[email protected]> wrote:

> But for bittorrent magnet links to be useful, and for immutable data to be
> useful, we need mutable widely available directories, such as pirate bay,
> directories that can be efficiently searched using human readable terms -
> directories that must be protected against spam, while allowing lots of
> people to add to them.
>

There's a mutable part of the system as well, the "heads", which are
modeled off of git heads and Tahoe mutable files:

https://github.com/tarcieri/cryptosphere/blob/master/lib/cryptosphere/head.rb

Directories in the system can be thought of as self-deduplicating immutable
persistent trees. To publish a new version of a file or directory, you will
need to publish a new version of the persistent tree (which can reuse large
parts of the original tree) and update the head to point to the new tree.
Nodes which are interested in a particular head will then gossip the new
value to other nodes they know are interested.

The creator of a particular head can share the write capability with
whoever they like by giving them the capability token for it.

-- 
Tony Arcieri
_______________________________________________
p2p-hackers mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/p2p-hackers

Reply via email to