summaryrefslogtreecommitdiff
path: root/src/Network
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-07-01 11:35:50 -0400
committerjoe <joe@jerkface.net>2017-07-01 11:35:50 -0400
commit0fc13f131aaeb7e9a4efcdd0ff934bdb2963cb83 (patch)
tree89552fce5a19db2af10316d852ca3d716848481e /src/Network
parente22ca7f163b6b771a570013d506f5d5f6576c2aa (diff)
Implemented instance Kademlia Tox.Message
Diffstat (limited to 'src/Network')
-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)