From 0fc13f131aaeb7e9a4efcdd0ff934bdb2963cb83 Mon Sep 17 00:00:00 2001 From: joe Date: Sat, 1 Jul 2017 11:35:50 -0400 Subject: Implemented instance Kademlia Tox.Message --- src/Network/DHT/Types.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Network/DHT') 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 class Kademlia dht where data DHTData dht ip dhtAdjustID :: Address ip => Proxy dht -> NodeId dht -> SockAddr -> Event dht ip u -> NodeId dht + dhtAdjustID _ nid _ _ = nid namePing :: Proxy dht -> QueryMethod dht nameFindNodes :: Proxy dht -> QueryMethod dht initializeDHTData :: IO (DHTData dht ip) -- cgit v1.2.3