tuweni / org.apache.tuweni.rlpx / RLPxService / connectTo

connectTo

abstract fun connectTo(peerPublicKey: PublicKey, peerAddress: InetSocketAddress): AsyncCompletion (source)

Connects to a remote peer

Parameters

peerPublicKey - the peer public key

peerAddress - the peer host and port

Return
a handle that completes if the peer connects successfully.