summaryrefslogtreecommitdiff
path: root/src/Network/Tox/DHT/Handlers.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/Tox/DHT/Handlers.hs')
-rw-r--r--src/Network/Tox/DHT/Handlers.hs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Network/Tox/DHT/Handlers.hs b/src/Network/Tox/DHT/Handlers.hs
index 6c29e958..09d6f66b 100644
--- a/src/Network/Tox/DHT/Handlers.hs
+++ b/src/Network/Tox/DHT/Handlers.hs
@@ -14,7 +14,7 @@ import Network.Kademlia.Search
14import qualified Data.Wrapper.PSQInt as Int 14import qualified Data.Wrapper.PSQInt as Int
15import Network.Kademlia 15import Network.Kademlia
16import Network.Kademlia.Bootstrap 16import Network.Kademlia.Bootstrap
17import Network.Address (WantIP (..), ipFamily, testIdBit,fromSockAddr, sockAddrPort) 17import Network.Address (WantIP (..), ipFamily, fromSockAddr, sockAddrPort)
18import qualified Network.Kademlia.Routing as R 18import qualified Network.Kademlia.Routing as R
19import Control.TriadCommittee 19import Control.TriadCommittee
20import System.Global6 20import System.Global6
@@ -29,7 +29,6 @@ import Control.Concurrent.Lifted.Instrument
29import Control.Concurrent.STM 29import Control.Concurrent.STM
30import Data.Time.Clock.POSIX (POSIXTime, getPOSIXTime) 30import Data.Time.Clock.POSIX (POSIXTime, getPOSIXTime)
31import Network.Socket 31import Network.Socket
32import Data.Hashable
33import qualified Data.HashMap.Strict as HashMap 32import qualified Data.HashMap.Strict as HashMap
34 ;import Data.HashMap.Strict (HashMap) 33 ;import Data.HashMap.Strict (HashMap)
35#if MIN_VERSION_iproute(1,7,4) 34#if MIN_VERSION_iproute(1,7,4)
@@ -37,13 +36,9 @@ import Data.IP hiding (fromSockAddr)
37#else 36#else
38import Data.IP 37import Data.IP
39#endif 38#endif
40import Data.Ord
41import Data.Maybe 39import Data.Maybe
42import Data.Bits
43import Data.Serialize (Serialize) 40import Data.Serialize (Serialize)
44import Data.Word 41import Data.Word
45import Data.List
46import System.IO
47import DPut 42import DPut
48 43
49data TransactionId = TransactionId 44data TransactionId = TransactionId