class ENRResponsePacket : Packet
(source)
enr |
val enr: Bytes |
requestHash |
val requestHash: Bytes |
encodeTo |
fun encodeTo(dst: ByteBuffer): ByteBuffer |
create |
fun create(keyPair: KeyPair, now: Long, requestHash: Bytes, enr: Bytes): ENRResponsePacket |
decode |
fun decode(payload: Bytes, hash: Bytes32, publicKey: PublicKey, signature: Signature): ENRResponsePacket |