kademlia

An implementation of the Kademlia DHT Protocol

https://github.com/froozen/kademlia

Latest on Hackage:1.1.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed and maintained by fro_ozen

A haskell implementation of the Kademlia distributed hashtable, an efficient way to store and lookup values distributed over a P2P network.

The implementation is based on the paper Kademlia: A Peer-to-peer Information System Based on the XOR Metric: http://pdos.csail.mit.edu/~petar/papers/maymounkov-kademlia-lncs.pdf) by Petar Maymounkov and David Mazières.

This library aims to be very simple and pleasant to use, with the downside of deciding some of the implementation details, like timeout intervals and k-bucket size, for the user.