devp2p / org.apache.tuweni.devp2p / ENRRequestPacket

ENRRequestPacket

class ENRRequestPacket : Packet (source)

Functions

encodeTo

fun encodeTo(dst: ByteBuffer): ByteBuffer

Companion Object Functions

create

fun create(keyPair: KeyPair, now: Long): Packet

decode

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