3 implementation of custom dht, based on pastry and kademlia.
4 keyspace is divided into buckets of limited capacity
5 node belongs to bucket, where at least 'depth' bits match 'prefix'
10 {used by: messages, fileshare}
14 type tPID
=array [0..19] of byte;
16 procedure AddNode(const contact
:tNetAddr
);
17 procedure Get(const id
:tPID
; out result
:array of tNetAddr
);
24 ...: node, file, profile, ?dir
25 profile: key, firends, dirs