Module P2p_vicinity

VICINITY: P2P topology management protocol

This is an implementation of VICINITY, a P2P topology management protocol described in the paper VICINITY: A Pinch of Randomness Brings out the Structure. The protocol takes care of overlay construction & maintenance, and can be used for e.g. clustering nodes in groups or organizing them in a coordinate system.

module Make : functor (Node_id : P2p.S.NODE_ID) -> functor (Node : P2p.S.NODE with type nid := Node_id.t) -> functor (View : P2p.S.VIEW with type nid := Node_id.t and type node := Node.t) -> P2p.S.GOSSIP with type node := Node.t and type view := View.t

Functor building an implementation of Vicinity given a Node_id, Node, and gossip View.