Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
8166fdb0
Commit
8166fdb0
authored
10 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
2063d5f9
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+12
-14
12 additions, 14 deletions
README.md
with
12 additions
and
14 deletions
README.md
+
12
−
14
View file @
8166fdb0
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
Example
s
-
-
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
*
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment