diff options
author | joe <joe@jerkface.net> | 2017-09-15 17:36:53 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2017-09-15 17:36:53 -0400 |
commit | fdfe7279339f91bad5ceb0cab8e699415686ab3f (patch) | |
tree | adf6b408fd70aff2173a14eefc0ed29f10a864c2 /src | |
parent | a4bc159e22b8c270284bb9ad10e511c6a411ebf6 (diff) |
Moved Network.BitTorrent.DHT.Search -> Network.Kademlia.Search
Diffstat (limited to 'src')
-rw-r--r-- | src/Network/BitTorrent/MainlineDHT.hs | 2 | ||||
-rw-r--r-- | src/Network/Kademlia.hs | 2 | ||||
-rw-r--r-- | src/Network/Kademlia/Search.hs (renamed from src/Network/BitTorrent/DHT/Search.hs) | 2 | ||||
-rw-r--r-- | src/Network/Tox.hs | 2 | ||||
-rw-r--r-- | src/Network/Tox/DHT/Handlers.hs | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/Network/BitTorrent/MainlineDHT.hs b/src/Network/BitTorrent/MainlineDHT.hs index 6f03ef60..e7d702c3 100644 --- a/src/Network/BitTorrent/MainlineDHT.hs +++ b/src/Network/BitTorrent/MainlineDHT.hs | |||
@@ -58,7 +58,7 @@ import Network.Address (Address, fromAddr, fromSockAddr, | |||
58 | toSockAddr, genBucketSample', WantIP(..), | 58 | toSockAddr, genBucketSample', WantIP(..), |
59 | un4map,either4or6,ipFamily) | 59 | un4map,either4or6,ipFamily) |
60 | import Network.BitTorrent.DHT.ContactInfo as Peers | 60 | import Network.BitTorrent.DHT.ContactInfo as Peers |
61 | import Network.BitTorrent.DHT.Search (Search (..)) | 61 | import Network.Kademlia.Search (Search (..)) |
62 | import Network.BitTorrent.DHT.Token as Token | 62 | import Network.BitTorrent.DHT.Token as Token |
63 | import qualified Network.DHT.Routing as R | 63 | import qualified Network.DHT.Routing as R |
64 | ;import Network.DHT.Routing (Timestamp, getTimestamp) | 64 | ;import Network.DHT.Routing (Timestamp, getTimestamp) |
diff --git a/src/Network/Kademlia.hs b/src/Network/Kademlia.hs index 315cc652..5fb1e334 100644 --- a/src/Network/Kademlia.hs +++ b/src/Network/Kademlia.hs | |||
@@ -29,7 +29,7 @@ import Data.Time.Clock.POSIX (POSIXTime) | |||
29 | import qualified Data.Wrapper.PSQInt as Int | 29 | import qualified Data.Wrapper.PSQInt as Int |
30 | ;import Data.Wrapper.PSQInt (pattern (:->)) | 30 | ;import Data.Wrapper.PSQInt (pattern (:->)) |
31 | import Network.Address (bucketRange,genBucketSample) | 31 | import Network.Address (bucketRange,genBucketSample) |
32 | import Network.BitTorrent.DHT.Search | 32 | import Network.Kademlia.Search |
33 | import System.Entropy | 33 | import System.Entropy |
34 | import System.Timeout | 34 | import System.Timeout |
35 | import Text.PrettyPrint as PP hiding (($$), (<>)) | 35 | import Text.PrettyPrint as PP hiding (($$), (<>)) |
diff --git a/src/Network/BitTorrent/DHT/Search.hs b/src/Network/Kademlia/Search.hs index 29e91633..195bed14 100644 --- a/src/Network/BitTorrent/DHT/Search.hs +++ b/src/Network/Kademlia/Search.hs | |||
@@ -4,7 +4,7 @@ | |||
4 | {-# LANGUAGE ScopedTypeVariables #-} | 4 | {-# LANGUAGE ScopedTypeVariables #-} |
5 | {-# LANGUAGE FlexibleContexts #-} | 5 | {-# LANGUAGE FlexibleContexts #-} |
6 | {-# LANGUAGE LambdaCase #-} | 6 | {-# LANGUAGE LambdaCase #-} |
7 | module Network.BitTorrent.DHT.Search where | 7 | module Network.Kademlia.Search where |
8 | 8 | ||
9 | import Control.Concurrent.Tasks | 9 | import Control.Concurrent.Tasks |
10 | import Control.Concurrent.STM | 10 | import Control.Concurrent.STM |
diff --git a/src/Network/Tox.hs b/src/Network/Tox.hs index c88dbcd4..7279c2e3 100644 --- a/src/Network/Tox.hs +++ b/src/Network/Tox.hs | |||
@@ -70,7 +70,7 @@ import Network.Address (Address, WantIP (..), either4or6, | |||
70 | fromSockAddr, ipFamily, setPort, | 70 | fromSockAddr, ipFamily, setPort, |
71 | sockAddrPort, testIdBit, | 71 | sockAddrPort, testIdBit, |
72 | toSockAddr, un4map) | 72 | toSockAddr, un4map) |
73 | import Network.BitTorrent.DHT.Search (Search (..)) | 73 | import Network.Kademlia.Search (Search (..)) |
74 | import qualified Network.DHT.Routing as R | 74 | import qualified Network.DHT.Routing as R |
75 | import Network.QueryResponse | 75 | import Network.QueryResponse |
76 | import Network.Socket | 76 | import Network.Socket |
diff --git a/src/Network/Tox/DHT/Handlers.hs b/src/Network/Tox/DHT/Handlers.hs index f22f9ffe..2dc183cd 100644 --- a/src/Network/Tox/DHT/Handlers.hs +++ b/src/Network/Tox/DHT/Handlers.hs | |||
@@ -7,7 +7,7 @@ import Network.Tox.DHT.Transport as DHTTransport | |||
7 | import Network.QueryResponse as QR hiding (Client) | 7 | import Network.QueryResponse as QR hiding (Client) |
8 | import qualified Network.QueryResponse as QR (Client) | 8 | import qualified Network.QueryResponse as QR (Client) |
9 | import Crypto.Tox | 9 | import Crypto.Tox |
10 | import Network.BitTorrent.DHT.Search | 10 | import Network.Kademlia.Search |
11 | import qualified Data.Wrapper.PSQInt as Int | 11 | import qualified Data.Wrapper.PSQInt as Int |
12 | import Network.Kademlia | 12 | import Network.Kademlia |
13 | import Network.Address (WantIP (..), ipFamily, testIdBit,fromSockAddr, sockAddrPort) | 13 | import Network.Address (WantIP (..), ipFamily, testIdBit,fromSockAddr, sockAddrPort) |