Skip to content
gskoPublic

About

A library with protocols needed to run a Mainline DHT node (written with Twisted)

Resources

Stars

66 stars

Watchers

10 watching

Forks

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comments, questions, and patches welcome: gsk067@gmail.com

** Requirements
* Python 2.7.x
* Twisted (a recent version)

mdht ===========================================================================
A library with implementations of a kademlia node supporting "Mainline DHT".
Written on a Twisted stack.
Protocol spec: http://www.bittorrent.org/beps/bep_0005.html)

Unit tests -----
On a shell with a proper PYTHONPATH, do: 'trial mdht.test'

Protocols ------
mdht.protocols.krpc_simple:
    "get" and "put" operations

mdht_server ====================================================================
A Twisted application that starts up a server with an mdht node and rpc.
Please see the source of mdht_server/app.tac and mdht_server/server.

# To run
    cd mdht_server
    chmod +x server
    ./server

mdht_client ====================================================================
An RPC client that connects to an mdht_server.
Please see the source of mdht_client/client.

# To run
    cd mdht_client
    chmod +x client
    ./client

About

A library with protocols needed to run a Mainline DHT node (written with Twisted)

Resources

Stars

66 stars

Watchers

10 watching

Forks

Releases

Packages

Contributors

Languages