diff options
author | dimitri staessens <[email protected]> | 2017-09-19 17:47:26 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-09-19 18:46:13 +0200 |
commit | 1dcef3957393c0500b81d93ffacf573e78be9a51 (patch) | |
tree | cf29abf695c1d53251560433441c29af57333e4b /src/ipcpd/normal/dht.h | |
parent | 115431af51795dfd583e24a051a7749c58a900b3 (diff) | |
download | ouroboros-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/dht.h')
-rw-r--r-- | src/ipcpd/normal/dht.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ipcpd/normal/dht.h b/src/ipcpd/normal/dht.h index d893f913..e4647a08 100644 --- a/src/ipcpd/normal/dht.h +++ b/src/ipcpd/normal/dht.h @@ -36,9 +36,6 @@ int dht_bootstrap(struct dht * dht, size_t b, time_t t_expire); -int dht_enroll(struct dht * dht, - uint64_t addr); - void dht_destroy(struct dht * dht); int dht_reg(struct dht * dht, |