open suspend fun addPeer(rlpENR: Bytes): AsyncCompletion (source)
Adds a peer to the routing table.
rlpENR - the RLP representation of the peer ENR.
abstract suspend fun addPeer(enr: EthereumNodeRecord, address: SocketAddress = SocketAddress.inetSocketAddress(enr.udp()!!, enr.ip().hostAddress)): AsyncCompletion (source)
Adds a peer to the routing table.
enr - the peer Ethereum Node Record
address - optionally, the UDP address to call for this peer.