diff options
Diffstat (limited to 'ToxMessage.hs')
-rw-r--r-- | ToxMessage.hs | 11 |
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 | ||
194 | data Packet where | 205 | data 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 |