devp2p-eth / org.apache.tuweni.devp2p.eth / GetBlockHeaders

GetBlockHeaders

data class GetBlockHeaders (source)

Constructors

<init>

GetBlockHeaders(block: Bytes, maxHeaders: Long, skip: Long, reverse: Boolean)

Properties

block

val block: Bytes

maxHeaders

val maxHeaders: Long

reverse

val reverse: Boolean

skip

val skip: Long

Functions

toBytes

fun toBytes(): Bytes

Companion Object Functions

read

fun read(payload: Bytes): GetBlockHeaders