summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-08-22 20:42:23 -0400
committerjoe <joe@jerkface.net>2017-08-22 20:42:23 -0400
commit396b6daf475b1769a214e0d3ee8b476ff415d2f9 (patch)
treef9702f7050b056d7d8815d25d980b2458d10f93c
parent546c0e95768757c1b540807d22b232bc3397f7c7 (diff)
Added test run histogram comment for Tox messages.
-rw-r--r--ToxMessage.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/ToxMessage.hs b/ToxMessage.hs
index c77f1ad7..9a896c52 100644
--- a/ToxMessage.hs
+++ b/ToxMessage.hs
@@ -191,6 +191,17 @@ data Symmetric = Symmetric
191 } 191 }
192 deriving (Eq, Ord,Data) 192 deriving (Eq, Ord,Data)
193 193
194-- Test run histogram:
195-- 377 PongType
196-- 387 DataRequestType
197-- 3238 PingType
198-- 9231 DHTRequestType
199-- 10299 PacketKind 130
200-- 12626 PacketKind 129
201-- 16596 OnionRequest0
202-- 16742 SendNodesType
203-- 41877 Announce
204-- 81793 GetNodesType
194data Packet where 205data Packet where
195 Ping :: Assymetric -> Packet -- 0x00 -- Assymetric query 206 Ping :: Assymetric -> Packet -- 0x00 -- Assymetric query
196 Pong :: Assymetric -> Packet -- 0x01 -- Assymetric response 207 Pong :: Assymetric -> Packet -- 0x01 -- Assymetric response