summaryrefslogtreecommitdiff
path: root/src/Network/DHT
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/DHT')
-rw-r--r--src/Network/DHT/Types.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Network/DHT/Types.hs b/src/Network/DHT/Types.hs
index 91d1fc22..73a7be65 100644
--- a/src/Network/DHT/Types.hs
+++ b/src/Network/DHT/Types.hs
@@ -78,6 +78,7 @@ foundNodesMessage ns = NodeFound ns
78class Kademlia dht where 78class Kademlia dht where
79 data DHTData dht ip 79 data DHTData dht ip
80 dhtAdjustID :: Address ip => Proxy dht -> NodeId dht -> SockAddr -> Event dht ip u -> NodeId dht 80 dhtAdjustID :: Address ip => Proxy dht -> NodeId dht -> SockAddr -> Event dht ip u -> NodeId dht
81 dhtAdjustID _ nid _ _ = nid
81 namePing :: Proxy dht -> QueryMethod dht 82 namePing :: Proxy dht -> QueryMethod dht
82 nameFindNodes :: Proxy dht -> QueryMethod dht 83 nameFindNodes :: Proxy dht -> QueryMethod dht
83 initializeDHTData :: IO (DHTData dht ip) 84 initializeDHTData :: IO (DHTData dht ip)