diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-05-03 17:49:03 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-05-03 17:56:11 +0200 |
commit | 919349fd119bff11e9d34da09a9d71bf5675dba2 (patch) | |
tree | b078ee0d0c2e5123fd1649a172d6471c3b2f9212 /src/ipcpd/normal/dir.h | |
parent | 8295c3628f70c1db342860ff1e79fc7056557739 (diff) | |
download | ouroboros-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 <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/ipcpd/normal/dir.h')
-rw-r--r-- | src/ipcpd/normal/dir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/normal/dir.h b/src/ipcpd/normal/dir.h index 365341ad..eb7a8aea 100644 --- a/src/ipcpd/normal/dir.h +++ b/src/ipcpd/normal/dir.h @@ -35,4 +35,6 @@ int dir_unreg(const uint8_t * hash); uint64_t dir_query(const uint8_t * hash); +int dir_wait_running(void); + #endif /* OUROBOROS_IPCPD_NORMAL_DIR_H */ |