diff options
Diffstat (limited to 'src/Network/Tox/DHT')
-rw-r--r-- | src/Network/Tox/DHT/Transport.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Network/Tox/DHT/Transport.hs b/src/Network/Tox/DHT/Transport.hs index 0787c2c1..47505a21 100644 --- a/src/Network/Tox/DHT/Transport.hs +++ b/src/Network/Tox/DHT/Transport.hs | |||
@@ -210,6 +210,8 @@ data DHTPublicKey = DHTPublicKey | |||
210 | , dhtpk :: PublicKey -- dht public key | 210 | , dhtpk :: PublicKey -- dht public key |
211 | , dhtpkNodes :: SendNodes -- other reachable nodes | 211 | , dhtpkNodes :: SendNodes -- other reachable nodes |
212 | } | 212 | } |
213 | deriving (Eq, Show) | ||
214 | |||
213 | 215 | ||
214 | -- int8_t (0x20 sent over onion, 0x12 for sent over net_crypto) | 216 | -- int8_t (0x20 sent over onion, 0x12 for sent over net_crypto) |
215 | -- [uint32_t nospam][Message (UTF8) 1 to ONION_CLIENT_MAX_DATA_SIZE bytes] | 217 | -- [uint32_t nospam][Message (UTF8) 1 to ONION_CLIENT_MAX_DATA_SIZE bytes] |
@@ -217,6 +219,7 @@ data FriendRequest = FriendRequest | |||
217 | { friendNoSpam :: Word32 | 219 | { friendNoSpam :: Word32 |
218 | , friendRequestText :: ByteString -- UTF8 | 220 | , friendRequestText :: ByteString -- UTF8 |
219 | } | 221 | } |
222 | deriving (Eq, Show) | ||
220 | 223 | ||
221 | -- When sent as a DHT request packet (this is the data sent in the DHT request | 224 | -- When sent as a DHT request packet (this is the data sent in the DHT request |
222 | -- packet): | 225 | -- packet): |