summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/dht.c
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2018-05-03 17:49:03 +0200
committerSander Vrijders <[email protected]>2018-05-03 17:56:11 +0200
commit919349fd119bff11e9d34da09a9d71bf5675dba2 (patch)
treeb078ee0d0c2e5123fd1649a172d6471c3b2f9212 /src/ipcpd/normal/dht.c
parent8295c3628f70c1db342860ff1e79fc7056557739 (diff)
downloadouroboros-919349fd119bff11e9d34da09a9d71bf5675dba2.tar.gz
ouroboros-919349fd119bff11e9d34da09a9d71bf5675dba2.zip
ipcpd: Allow wait for dir enrollment on dt conn
This adds the option to wait for the directory (DHT) to enroll on creating a new data transfer connection. This makes scripting network bootstraps more stable. The default setting is OFF. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/normal/dht.c')
-rw-r--r--src/ipcpd/normal/dht.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/normal/dht.c b/src/ipcpd/normal/dht.c
index 1fabcb84..5e63f748 100644
--- a/src/ipcpd/normal/dht.c
+++ b/src/ipcpd/normal/dht.c
@@ -295,7 +295,7 @@ static int dht_set_state(struct dht * dht,
return 0;
}
-static int dht_wait_running(struct dht * dht)
+int dht_wait_running(struct dht * dht)
{
int ret = 0;