diff options
author | joe <joe@jerkface.net> | 2018-06-09 01:31:23 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2018-06-09 01:32:08 -0400 |
commit | fb0c6758ec415c5cda5cc7c182e1f83906f365fb (patch) | |
tree | c07aa47ca461d90199b63af230f4433da9827935 /src/Network/Kademlia.hs | |
parent | fa15dabe75703516c7bbb54fdba2a13ae6c6e9cc (diff) |
Expire old tox key announcements after 5 minutes.
Diffstat (limited to 'src/Network/Kademlia.hs')
-rw-r--r-- | src/Network/Kademlia.hs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Network/Kademlia.hs b/src/Network/Kademlia.hs index 8956df2c..0ab26e80 100644 --- a/src/Network/Kademlia.hs +++ b/src/Network/Kademlia.hs | |||
@@ -26,8 +26,6 @@ import Data.IP | |||
26 | import Data.Monoid | 26 | import Data.Monoid |
27 | import Data.Serialize (Serialize) | 27 | import Data.Serialize (Serialize) |
28 | import Data.Time.Clock.POSIX (POSIXTime) | 28 | import Data.Time.Clock.POSIX (POSIXTime) |
29 | import qualified Data.Wrapper.PSQInt as Int | ||
30 | ;import Data.Wrapper.PSQInt (pattern (:->)) | ||
31 | import Network.Address (bucketRange,genBucketSample) | 29 | import Network.Address (bucketRange,genBucketSample) |
32 | import Network.Kademlia.Search | 30 | import Network.Kademlia.Search |
33 | import System.Entropy | 31 | import System.Entropy |