summaryrefslogtreecommitdiff
path: root/src/Network/Tox/Onion/Handlers.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2018-06-22 21:17:22 -0400
committerjoe <joe@jerkface.net>2018-06-22 21:17:22 -0400
commitf5f854c8144dc29086928a94b2ea86cfae0d0557 (patch)
tree5a7daccc1be66375edd35b238f348129f540b146 /src/Network/Tox/Onion/Handlers.hs
parent6f040764654640730d3f832cf4e41174562718fb (diff)
Removed redundant imports and other clean up.
Diffstat (limited to 'src/Network/Tox/Onion/Handlers.hs')
-rw-r--r--src/Network/Tox/Onion/Handlers.hs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Network/Tox/Onion/Handlers.hs b/src/Network/Tox/Onion/Handlers.hs
index f497a1bf..80a6ae3a 100644
--- a/src/Network/Tox/Onion/Handlers.hs
+++ b/src/Network/Tox/Onion/Handlers.hs
@@ -12,23 +12,9 @@ import qualified Network.QueryResponse as QR (Client)
12import Crypto.Tox 12import Crypto.Tox
13import qualified Data.Wrapper.PSQ as PSQ 13import qualified Data.Wrapper.PSQ as PSQ
14 ;import Data.Wrapper.PSQ (PSQ,pattern (:->)) 14 ;import Data.Wrapper.PSQ (PSQ,pattern (:->))
15#ifdef CRYPTONITE_BACKPORT
16import Crypto.Error.Types (CryptoFailable (..),
17 throwCryptoError)
18#else
19import Crypto.Error
20#endif
21import Control.Arrow 15import Control.Arrow
22 16
23import System.IO
24import qualified Data.ByteArray as BA
25import Data.Function 17import Data.Function
26import Data.Serialize as S
27import qualified Data.Wrapper.PSQInt as Int
28import Network.Kademlia
29import Network.Address (WantIP (..), ipFamily, testIdBit)
30import qualified Network.Kademlia.Routing as R
31import Control.TriadCommittee
32import qualified Data.MinMaxPSQ as MinMaxPSQ 18import qualified Data.MinMaxPSQ as MinMaxPSQ
33 ;import Data.MinMaxPSQ (MinMaxPSQ') 19 ;import Data.MinMaxPSQ (MinMaxPSQ')
34import Network.BitTorrent.DHT.Token as Token 20import Network.BitTorrent.DHT.Token as Token
@@ -50,8 +36,6 @@ import Data.IP hiding (fromSockAddr)
50import Data.IP 36import Data.IP
51#endif 37#endif
52import Data.Maybe 38import Data.Maybe
53import Data.Bits
54import Data.Ord
55import Data.Functor.Identity 39import Data.Functor.Identity
56import DPut 40import DPut
57 41