diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2014-04-08 02:36:18 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2014-04-08 02:36:18 +0400 |
commit | 75711985512c8578e913a1b464816968b4aef5dd (patch) | |
tree | 5ab77d69af0e9bc315b58f1df6ba100e318adfce /src/Network/BitTorrent/DHT/ContactInfo.hs | |
parent | 7e597cd924d2149b10f900c7dc14ce6e1e321cb5 (diff) |
Merge PeerAddr and NodeAddr modules
Diffstat (limited to 'src/Network/BitTorrent/DHT/ContactInfo.hs')
-rw-r--r-- | src/Network/BitTorrent/DHT/ContactInfo.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network/BitTorrent/DHT/ContactInfo.hs b/src/Network/BitTorrent/DHT/ContactInfo.hs index 201b84ee..baa240b4 100644 --- a/src/Network/BitTorrent/DHT/ContactInfo.hs +++ b/src/Network/BitTorrent/DHT/ContactInfo.hs | |||
@@ -12,13 +12,13 @@ import Data.HashMap.Strict as HM | |||
12 | import Data.Serialize | 12 | import Data.Serialize |
13 | 13 | ||
14 | import Data.Torrent | 14 | import Data.Torrent |
15 | import Network.BitTorrent.Core.PeerAddr | 15 | import Network.BitTorrent.Address |
16 | 16 | ||
17 | {- | 17 | {- |
18 | import Data.HashMap.Strict as HM | 18 | import Data.HashMap.Strict as HM |
19 | 19 | ||
20 | import Data.Torrent.InfoHash | 20 | import Data.Torrent.InfoHash |
21 | import Network.BitTorrent.Core | 21 | import Network.BitTorrent.Address |
22 | 22 | ||
23 | -- increase prefix when table is too large | 23 | -- increase prefix when table is too large |
24 | -- decrease prefix when table is too small | 24 | -- decrease prefix when table is too small |