Peers

class Peers(val token: ByteArray?, val values: List<DhtEndpoint> = emptyList(), val nodes: List<CompactNode> = emptyList(), val nodes6: List<CompactNode> = emptyList()) : DhtMessage.Reply

get_peers reply: r{token, values?, nodes?, nodes6?}. values holds the peer endpoints from the values list. token is the opaque write token to present on a subsequent announce_peer.

Constructors

Link copied to clipboard
constructor(token: ByteArray?, values: List<DhtEndpoint> = emptyList(), nodes: List<CompactNode> = emptyList(), nodes6: List<CompactNode> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard