toxcore-0.2.11: A Tox protocol implementation in Haskell

Safe HaskellTrustworthy
LanguageHaskell2010

Network.Tox.DHT.Distance

Synopsis

Documentation

newtype Distance Source #

Constructors

Distance Integer 

rebaseDistance :: PublicKey -> PublicKey -> Distance -> Distance Source #

rebaseDistance a b (xorDistance a c) == xorDistance b c