C++ Distributed Hash Table
|
#include <callbacks.h>
Public Attributes | |
InfoHash | node_id |
NetId | network |
bool | is_bootstrap |
bool | maintain_storage |
Dht configuration.
Definition at line 90 of file callbacks.h.
bool dht::Config::is_bootstrap |
For testing purposes only, enables bootstrap mode
Definition at line 102 of file callbacks.h.
bool dht::Config::maintain_storage |
Makes the DHT responsible to maintain its stored values. Consumes more ressources.
Definition at line 105 of file callbacks.h.
NetId dht::Config::network |
DHT network ID. A node will only talk with other nodes having the same network ID. Network ID 0 (default) represents the main public network.
Definition at line 99 of file callbacks.h.
InfoHash dht::Config::node_id |
DHT node ID
Definition at line 92 of file callbacks.h.