Skip to content
Snippets Groups Projects
Commit 46de7668 authored by Amna Snene's avatar Amna Snene Committed by Adrien Béraud
Browse files

tools: save dht state

Change-Id: Iac9785c81df32c4373faab71e931d8f8fa3ffbc6
parent 84ac9bcf
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,8 @@ connectionManagerConfig(dht::crypto::Identity identity,
// DHT node creation: To make a connection manager at first a DHT node should be created
dht::DhtRunner::Config dhtConfig;
dhtConfig.dht_config.id = identity;
dhtConfig.dht_config.node_config.persist_path = (cachePath() / "dht").string();
dhtConfig.dht_config.cert_cache_all = true;
dhtConfig.threaded = true;
dhtConfig.peer_discovery = false;
dhtConfig.peer_publish = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment