summaryrefslogtreecommitdiff
path: root/src/Network/Kademlia.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2018-06-09 01:31:23 -0400
committerjoe <joe@jerkface.net>2018-06-09 01:32:08 -0400
commitfb0c6758ec415c5cda5cc7c182e1f83906f365fb (patch)
treec07aa47ca461d90199b63af230f4433da9827935 /src/Network/Kademlia.hs
parentfa15dabe75703516c7bbb54fdba2a13ae6c6e9cc (diff)
Expire old tox key announcements after 5 minutes.
Diffstat (limited to 'src/Network/Kademlia.hs')
-rw-r--r--src/Network/Kademlia.hs2
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
26import Data.Monoid 26import Data.Monoid
27import Data.Serialize (Serialize) 27import Data.Serialize (Serialize)
28import Data.Time.Clock.POSIX (POSIXTime) 28import Data.Time.Clock.POSIX (POSIXTime)
29import qualified Data.Wrapper.PSQInt as Int
30 ;import Data.Wrapper.PSQInt (pattern (:->))
31import Network.Address (bucketRange,genBucketSample) 29import Network.Address (bucketRange,genBucketSample)
32import Network.Kademlia.Search 30import Network.Kademlia.Search
33import System.Entropy 31import System.Entropy