Skip to content
Snippets Groups Projects
Commit 8166fdb0 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

Update README.md

parent 2063d5f9
Branches
Tags
No related merge requests found
OpenDHT OpenDHT
=== ===
A lightweight C++11 Distributed Hash Table implementation A lightweight C++11 Distributed Hash Table implementation originally based on https://github.com/jech/dht by Juliusz Chroboczek.
* Light C++11 Kademlia DHT library * Light and fast C++11 Kademlia DHT library.
* Simple distributed map API * Distributed shared key->value data-store
* Support for storage of arbitrary values (not just IPs) * Clean and powerfull distributed map API.
* Optional public key cryptography layer providing data signature and encryption (using GnuTLS) * Storage of arbitrary binary values up to 64 kB. Keys are 160 bits long.
* Fast bootstrap and announce time * Optional public key cryptography layer providing data signature and encryption (using GnuTLS).
* Not compatible with Bittorrent DHT (mainline). * IPv4 and IPv6 support.
* Originally based on https://github.com/jech/dht by Juliusz Chroboczek
Documentation Documentation
- -
See the wiki: <https://github.com/savoirfairelinux/opendht/wiki> See the wiki: <https://github.com/savoirfairelinux/opendht/wiki>
Example Examples
- -
The `tools` directory includes two simple example programs :
* `dhtnode`, a command line tool, mostly used for debuging, allowing to perform all operations supported by the library with string values.
* `dhtchat`, a very simple example of a chat client working over the dht.
Example program launching a DHT node, connecting to the network and performing some basic operations: Example program launching a DHT node, connecting to the network and performing some basic operations:
```c++ ```c++
#include <opendht.h> #include <opendht.h>
...@@ -87,8 +90,3 @@ Dependencies ...@@ -87,8 +90,3 @@ Dependencies
- GnuTLS 3.1+, used to compute hashes and for the identity layer. - GnuTLS 3.1+, used to compute hashes and for the identity layer.
- Build tested with GCC 4.8+ (Linux, Android, Windows with MinGW), Clang/LLVM (Linux, OS X). - Build tested with GCC 4.8+ (Linux, Android, Windows with MinGW), Clang/LLVM (Linux, OS X).
TODO
-
* Long term value persistance
* Documentation
* ...
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment