summaryrefslogtreecommitdiff
path: root/examples/dhtd.hs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dhtd.hs')
-rw-r--r--examples/dhtd.hs9
1 files changed, 0 insertions, 9 deletions
diff --git a/examples/dhtd.hs b/examples/dhtd.hs
index 2c4f0778..dd038d70 100644
--- a/examples/dhtd.hs
+++ b/examples/dhtd.hs
@@ -231,15 +231,6 @@ instance Kademlia Tox.Message where
231 231
232instance Pretty (NodeId Tox.Message) where pPrint (Tox.NodeId nid) = encodeHexDoc nid 232instance Pretty (NodeId Tox.Message) where pPrint (Tox.NodeId nid) = encodeHexDoc nid
233 233
234instance Serialize (FindNode Tox.Message IPv4) where
235 get = error "TODO get 1"
236 put = error "TODO put 2"
237instance Serialize (NodeFound Tox.Message IPv4) where
238 get = error "TODO get 3"
239 put = error "TODO put 4"
240instance Serialize (Ping Tox.Message) where
241 get = error "TODO get 5"
242 put = error "TODO put 6"
243instance Serialize (Query Tox.Message (FindNode Tox.Message IPv4)) where 234instance Serialize (Query Tox.Message (FindNode Tox.Message IPv4)) where
244 get = error "TODO get 7" 235 get = error "TODO get 7"
245 put = error "TODO put 8" 236 put = error "TODO put 8"