devp2p / org.apache.tuweni.devp2p / FindNodePacket

FindNodePacket

class FindNodePacket : Packet (source)

Properties

target

val target: PublicKey

Functions

encodeTo

fun encodeTo(dst: ByteBuffer): ByteBuffer

Companion Object Functions

create

fun create(keyPair: KeyPair, now: Long, target: PublicKey): FindNodePacket

decode

fun decode(payload: Bytes, hash: Bytes32, publicKey: PublicKey, signature: Signature): FindNodePacket