PeerNode

@Serializable
data class PeerNode(val nodeID: String? = null, val addr: String? = null)

Represents a peer-node in the swarm

Parameters

nodeID

Unique identifier of for this node in the swarm.

addr

IP address and ports at which this node can be reached.

Constructors

Link copied to clipboard
constructor(nodeID: String? = null, addr: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "Addr")
val addr: String?
Link copied to clipboard
@SerialName(value = "NodeID")
val nodeID: String?