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'
8 {used by: messages, fileshare}
12 type tPID
=array [0..19] of byte;
14 procedure AddNode(const contact
:tNetAddr
);
15 procedure Get(const id
:tPID
; out result
:array of tNetAddr
);