Vdht is the simple experimental framework based on DHT protocol.
You can build vdht from source code with following tutorial on Linux, especially on Ubuntu Linux higher than 14.04. Also you are welcome to try building vdht on other platforms.
Be sure that sqlite3 dev library should be installed. Otherwise, run command:
$ sudo apt-get install sqlite3-dev
Be sure that miniupnc client library should be installed. Otherwise, go to website
http://miniupnp.tuxfamily.org/files/
and download miniupnpc source code with version higher than miniupnpc-1.9 (default with miniupnpc-1.9.tar.gz), then unzip the package:
$ tar -xzvf miniupnpc-1.9.tar.gz
$
$ cd miniupnpc
$ make
$ sudo make install
Download the vdht source code with following commands:
$ git clone https://github.com/stiartsly/vdht.git
$ cd vdht
$ make
There are several shared libraries and executables listed below.
A simple binary to run as daemon as vdht engine.
A local service control command tool to communicate with vdhtd daemon.
An example of pairs of service can run as service producer or demander respectively.
An shared library provides core vdht features.
An shared library can be integrated to client side to commnicate with vdht deamon.
Each exacutables has it's own help information.
Use valid bootnode information in config file to run vdht as daemon service.
$ ./vdhtd -S
Use vlsctlc command tool to communicate with vdhtd daemon while vdht is running:
$ ./vlsctl -s
Sincerely thanks to all teams and their projects on which we relies directly or indirectly.
MIT