diff options
-rw-r--r-- | bittorrent/bittorrent.cabal | 2 | ||||
-rw-r--r-- | dht-client.cabal | 2 | ||||
-rw-r--r-- | examples/dhtd.hs | 2 | ||||
-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 |
8 files changed, 8 insertions, 8 deletions
diff --git a/bittorrent/bittorrent.cabal b/bittorrent/bittorrent.cabal index 910194c2..555143f7 100644 --- a/bittorrent/bittorrent.cabal +++ b/bittorrent/bittorrent.cabal | |||
@@ -85,7 +85,7 @@ library | |||
85 | Data.Torrent | 85 | Data.Torrent |
86 | Network.BitTorrent.DHT.ContactInfo | 86 | Network.BitTorrent.DHT.ContactInfo |
87 | Network.BitTorrent.DHT.Token | 87 | Network.BitTorrent.DHT.Token |
88 | Network.BitTorrent.DHT.Search | 88 | Network.Kademlia.Search |
89 | Network.QueryResponse | 89 | Network.QueryResponse |
90 | Network.StreamServer | 90 | Network.StreamServer |
91 | Data.BEncode.Pretty | 91 | Data.BEncode.Pretty |
diff --git a/dht-client.cabal b/dht-client.cabal index 92b57160..12f5cddd 100644 --- a/dht-client.cabal +++ b/dht-client.cabal | |||
@@ -69,7 +69,7 @@ library | |||
69 | Data.Torrent | 69 | Data.Torrent |
70 | Network.BitTorrent.DHT.ContactInfo | 70 | Network.BitTorrent.DHT.ContactInfo |
71 | Network.BitTorrent.DHT.Token | 71 | Network.BitTorrent.DHT.Token |
72 | Network.BitTorrent.DHT.Search | 72 | Network.Kademlia.Search |
73 | Network.QueryResponse | 73 | Network.QueryResponse |
74 | Network.StreamServer | 74 | Network.StreamServer |
75 | Data.BEncode.Pretty | 75 | Data.BEncode.Pretty |
diff --git a/examples/dhtd.hs b/examples/dhtd.hs index 198ab203..5c002363 100644 --- a/examples/dhtd.hs +++ b/examples/dhtd.hs | |||
@@ -46,7 +46,7 @@ import GHC.Conc (labelThread) | |||
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | import Network.Address hiding (NodeId, NodeInfo(..)) | 48 | import Network.Address hiding (NodeId, NodeInfo(..)) |
49 | import Network.BitTorrent.DHT.Search | 49 | import Network.Kademlia.Search |
50 | import Network.QueryResponse | 50 | import Network.QueryResponse |
51 | import Network.StreamServer | 51 | import Network.StreamServer |
52 | import Network.Kademlia | 52 | import Network.Kademlia |
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) |