devp2p / org.apache.tuweni.devp2p / PongPacket

PongPacket

class PongPacket : Packet (source)

Properties

enrSeq

val enrSeq: Long?

pingHash

val pingHash: Bytes32

to

val to: Endpoint

Functions

encodeTo

fun encodeTo(dst: ByteBuffer): ByteBuffer

Companion Object Functions

create

fun create(keyPair: KeyPair, now: Long, to: Endpoint, pingHash: Bytes32, enrSeq: Long?): PongPacket

decode

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