NodeId

com.github.lavrov.bittorrent.dht.NodeId$
See theNodeId companion class
object NodeId

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
NodeId.type

Members list

Concise view

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def distance(a: NodeId, b: NodeId): BigInt
def distance(a: NodeId, b: InfoHash): BigInt
def generate[F[_]](using Random[F], Monad[F]): F[NodeId]