diff options
Diffstat (limited to 'src/Network/Tox/DHT/Handlers.hs')
-rw-r--r-- | src/Network/Tox/DHT/Handlers.hs | 7 |
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 | |||
14 | import qualified Data.Wrapper.PSQInt as Int | 14 | import qualified Data.Wrapper.PSQInt as Int |
15 | import Network.Kademlia | 15 | import Network.Kademlia |
16 | import Network.Kademlia.Bootstrap | 16 | import Network.Kademlia.Bootstrap |
17 | import Network.Address (WantIP (..), ipFamily, testIdBit,fromSockAddr, sockAddrPort) | 17 | import Network.Address (WantIP (..), ipFamily, fromSockAddr, sockAddrPort) |
18 | import qualified Network.Kademlia.Routing as R | 18 | import qualified Network.Kademlia.Routing as R |
19 | import Control.TriadCommittee | 19 | import Control.TriadCommittee |
20 | import System.Global6 | 20 | import System.Global6 |
@@ -29,7 +29,6 @@ import Control.Concurrent.Lifted.Instrument | |||
29 | import Control.Concurrent.STM | 29 | import Control.Concurrent.STM |
30 | import Data.Time.Clock.POSIX (POSIXTime, getPOSIXTime) | 30 | import Data.Time.Clock.POSIX (POSIXTime, getPOSIXTime) |
31 | import Network.Socket | 31 | import Network.Socket |
32 | import Data.Hashable | ||
33 | import qualified Data.HashMap.Strict as HashMap | 32 | import 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 |
38 | import Data.IP | 37 | import Data.IP |
39 | #endif | 38 | #endif |
40 | import Data.Ord | ||
41 | import Data.Maybe | 39 | import Data.Maybe |
42 | import Data.Bits | ||
43 | import Data.Serialize (Serialize) | 40 | import Data.Serialize (Serialize) |
44 | import Data.Word | 41 | import Data.Word |
45 | import Data.List | ||
46 | import System.IO | ||
47 | import DPut | 42 | import DPut |
48 | 43 | ||
49 | data TransactionId = TransactionId | 44 | data TransactionId = TransactionId |