exclusiveNodes

abstract fun exclusiveNodes(nodes: Set<String>?)

Exclusively connect to a single node. All other existing connections will be dropped

Parameters

ip

IP address or domain name of the node, or null to remove any exclusive node

port

TCP port of the node (default or -1 uses the default port for this blockchain)