summaryrefslogtreecommitdiff
path: root/src/Network/DHT
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/DHT')
-rw-r--r--src/Network/DHT/Routing.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Network/DHT/Routing.hs b/src/Network/DHT/Routing.hs
index 85525a90..11dbd11e 100644
--- a/src/Network/DHT/Routing.hs
+++ b/src/Network/DHT/Routing.hs
@@ -788,6 +788,8 @@ data KademliaSpace nid ni = KademliaSpace
788 , kademliaTestBit :: nid -> Word -> Bool 788 , kademliaTestBit :: nid -> Word -> Bool
789 -- | The Kademlia xor-metric. 789 -- | The Kademlia xor-metric.
790 , kademliaXor :: nid -> nid -> nid 790 , kademliaXor :: nid -> nid -> nid
791
792 , kademliaSample :: forall m. Applicative m => (Int -> m BS.ByteString) -> nid -> (Int,Word8,Word8) -> m nid
791 } 793 }
792 794
793contramapKS f ks = ks 795contramapKS f ks = ks