summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/dir.h
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-09-19 17:47:26 +0200
committerdimitri staessens <[email protected]>2017-09-19 18:46:13 +0200
commit1dcef3957393c0500b81d93ffacf573e78be9a51 (patch)
treecf29abf695c1d53251560433441c29af57333e4b /src/ipcpd/normal/dir.h
parent115431af51795dfd583e24a051a7749c58a900b3 (diff)
downloadouroboros-1dcef3957393c0500b81d93ffacf573e78be9a51.tar.gz
ouroboros-1dcef3957393c0500b81d93ffacf573e78be9a51.zip
ipcpd: Enroll DHT when creating dt connection
The DHT will now enroll or sync when a data transfer connection is added. This avoids the need to create a temporary data transfer connection during enrollment (and speeds it up considerably). The notifier system was modified to take an opaque pointer to the object that registers as a parameter.
Diffstat (limited to 'src/ipcpd/normal/dir.h')
-rw-r--r--src/ipcpd/normal/dir.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ipcpd/normal/dir.h b/src/ipcpd/normal/dir.h
index 13571b68..68959836 100644
--- a/src/ipcpd/normal/dir.h
+++ b/src/ipcpd/normal/dir.h
@@ -29,8 +29,6 @@ void dir_fini(void);
int dir_bootstrap(void);
-int dir_enroll(uint64_t peer);
-
int dir_reg(const uint8_t * hash);
int dir_unreg(const uint8_t * hash);