Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dhtnet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
dhtnet
Commits
46de7668
Commit
46de7668
authored
9 months ago
by
Amna Snene
Committed by
Adrien Béraud
2 months ago
Browse files
Options
Downloads
Patches
Plain Diff
tools: save dht state
Change-Id: Iac9785c81df32c4373faab71e931d8f8fa3ffbc6
parent
84ac9bcf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/common.cpp
+2
-0
2 additions, 0 deletions
tools/common.cpp
with
2 additions
and
0 deletions
tools/common.cpp
+
2
−
0
View file @
46de7668
...
...
@@ -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
;
...
...
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