PeerList

class PeerList(targets: List<URI>, val generation: Long) : List<URI>

The targets one lookup of a peer's nodes found, and its generation: a lookup that finds them again, the same nodes or not, has another, so a client knows the list was read again (SilentPeers). What a discovery that caches its lookups answers (REFRESH); a resolver that answers plain lists has no generations, and a bypassed node then comes back after REFRESH.

Constructors

Link copied to clipboard
constructor(targets: List<URI>, generation: Long)

Types

Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String